Plot a list of lines with R lattice package
问题 I'm trying to show some variogram model fits on the top of xy.plots . The panel.plots work for all except for a list of lines I wanted to add to corresponding subplots . require(gstat) require(sp) data(meuse) names(meuse) #make directional variograms b<-variogram(log(zinc)~1, meuse, alpha = c(0, 45, 90, 135)) #split the variogram data by direction a<-lapply(1:length(unique(b$dir.hor)), function(i) subset(b, grepl(unique(b$dir.hor)[[i]], b$dir.hor))) #get the model fit parameters for each