Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lattice plotting is erroring #57

Open
colinpmillar opened this issue Feb 25, 2019 · 0 comments
Open

lattice plotting is erroring #57

colinpmillar opened this issue Feb 25, 2019 · 0 comments

Comments

@colinpmillar
Copy link
Member

colinpmillar commented Feb 25, 2019

Bug in:

FLCore/R/plot.R

Lines 183 to 184 in 12ef46c

do.call(xyplot, c(list(x=data ~ year|panel, data=obj, panel=pfun,
groups=expression(qname)), options))

The following generates an error in the lattice panels:

library(FLCore)
# Loading required package: lattice
# Loading required package: iterators
# FLCore (Version 2.6.12, packaged: 2019-01-22 16:23:11 UTC)
data(ple4)
plot(ple4)

image

plot(propagate(ple4, 10))

image

It is fixed if replaced by:

do.call(xyplot, c(list(x=data ~ year|panel, data=obj, panel=pfun,
      groups=expression(qname), options = options), options))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant