You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first desplot complains about multiple data for each x/y/panel.
The second desplot does not.
I suspect the check for multiple cells is not able to handle two terms in year*site.
library(agridat)
data(tesfaye.millet)
dat <- tesfaye.millet
libs(desplot)
dat <- transform(dat, year=factor(year), site=factor(site))
desplot(dat, yield ~ col*row|year*site, out1=rep, main="tesfaye.millet")
# Warning message:
# In desplot(dat, yield ~ col * row | year * site, out1 = rep, main = "tesfaye.millet") :
# There are multiple data for each x/y/panel combination
libs(dplyr,asreml,lucid)
dat <- mutate(dat,
env=factor(paste0(site,year)),
gen=factor(gen),
rep=factor(rep),
xfac=factor(col), yfac=factor(row))
desplot(dat, yield~col*row|env)
The text was updated successfully, but these errors were encountered:
The first desplot complains about multiple data for each x/y/panel.
The second desplot does not.
I suspect the check for multiple cells is not able to handle two terms in
year*site
.The text was updated successfully, but these errors were encountered: