[R] lattice multi-panel layout
dulcalma at bigpond.com
Fri Oct 4 14:32:41 CEST 2013
I have never used the automap package and your syntax for xyplot does not
seem to be in the correct format for lattice.
A quick search showed that vgm.panel.xyplot from gstat package may give you
It appears that there are some particular adaptations for lattice for
spatial plots and I am not up on them.
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of efx
Sent: Friday, 4 October 2013 18:38
To: r-help at r-project.org
Subject: Re: [R] lattice multi-panel layout
the printing one by one seems the only working solution. I also tried the
grid.arrange function but couldnt output what I am after.
Now the plots are placed in one page but I got the message "error using
packet 1: promise already under evalution: recursive default arguments
reference or earlier problems? "
this error seems to be associated with the panel option I pass to the xyplot
plott[[i]] <- xyplot(
bin_avg ~ dist , type=("p")
,panel = automap:::autokrige.vgm.panel
,labels = as.character(pop), shift = 0.03
,model = auto_Sph_h[[i]]$var_model
if the panel option is commented out the error disappears.
Any further suggestion?
View this message in context:
Sent from the R help mailing list archive at Nabble.com.
R-help at r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help