所以我正在使用levelplot类似这样的相关性矩阵状图(摘自:Plot correlation matrix into a graph): library(lattice)
#Build the horizontal and vertical axis information
hor <- c("214", "215", "216", "224", "211", "212", "213",
我正在运行一些自举置信区间,我想用均值绘制置信区间。类似这样的: 这是我的模型。正如你可以看到DISTANCE和POS是因素。 lmm1 <- lmer((total) ~ DISTANCE+POS + (1|NO_UNIT),data=TURN)
TURN$POS<-as.factor(TURN$POS)#Change position and distance to factors
TUR
我试图使用产生晶格命令多条曲线创建多个格子图,如下: variable <- (string with variable names)
for (i in 1:X){
mypath <- paste(i,' - ',variable[i],'.png',sep='')
png(mypath,width=760)
xyplot(get(variable[i]) ~ GroupV