aitapИ еще такой вопрос: если мне нужны только определенные индексы, для того чтобы печатать на графике данные только из определенных файлов, как мне задать эти индексы:
Код:
assemble <- seq(2,3,10,11,14,16,17,26,27,28,30,31,33,34,35,38,43,45,49)
par(mfrow=c(5,1))
par(new=TRUE)
par(las = 1)
plot(0, 0, xlim = c(15, 130), ylim = c(0, 0.05),type = 'n')
for (i in assemble){
lines(steps <-c(1:length(dfL_F[[assemble]])), dfL_F[[assemble]],
type= "o",pch=16,lwd=0.5, lty=3, xlab = 'Step finals', ylab = '',cex = 0.6,
col = "springgreen4")
abline(h=c(0.000450), lwd=1.5, lty=1, col="red")
mtext("MAX F", col = "black", adj=-0.1, padj=+0.1, cex=0.8)
grid(nx = NULL, ny = NULL,lty = 2, col = "gray", lwd = 1)
}
plot(0, 0, xlim = c(15, 130), ylim = c(0, 0.05),type = 'n')
for (i in assemble){
lines(steps <-c(1:length(dfL_RMF[[assemble]])), dfL_RMF[[assemble]],
type= "o",pch=16,lwd=0.5, lty=3, xlab = 'Step finals', ylab = '',cex = 0.6,
col = "springgreen4")
abline(h=c(0.000450), lwd=1.5, lty=1, col="red")
mtext("MAX F", col = "black", adj=-0.1, padj=+0.1, cex=0.8)
grid(nx = NULL, ny = NULL,lty = 2, col = "gray", lwd = 1)
}
plot(0, 0, xlim = c(15, 130), ylim = c(0, 0.05),type = 'n')
for (i in assemble){
lines(steps <-c(1:length(dfL_D[[assemble]])), dfL_D[[assemble]],
type= "o",pch=16,lwd=0.5, lty=3, xlab = 'Step finals', ylab = '',cex = 0.6,
col = "springgreen4")
abline(h=c(0.000450), lwd=1.5, lty=1, col="red")
mtext("MAX F", col = "black", adj=-0.1, padj=+0.1, cex=0.8)
grid(nx = NULL, ny = NULL,lty = 2, col = "gray", lwd = 1)
}
plot(0, 0, xlim = c(15, 130), ylim = c(0, 0.05),type = 'n')
for (i in assemble){
lines(steps <-c(1:length(dfL_RMD[[assemble]])), dfL_RMD[[assemble]],
type= "o",pch=16,lwd=0.5, lty=3, xlab = 'Step finals', ylab = '',cex = 0.6,
col = "springgreen4")
abline(h=c(0.000450), lwd=1.5, lty=1, col="red")
mtext("MAX F", col = "black", adj=-0.1, padj=+0.1, cex=0.8)
grid(nx = NULL, ny = NULL,lty = 2, col = "gray", lwd = 1)
}
plot(0, 0, xlim = c(15, 130), ylim = c(0, 28),type = 'n')
for (i in assemble){
lines(steps <-c(1:length(dfQ[[assemble]])), dfQ[[assemble]],
type= "o",pch=16,lwd=0.5, lty=3, xlab = 'Step finals', ylab = '',cex = 0.6,
col = "springgreen4")
abline(h=c(0.000450), lwd=1.5, lty=1, col="red")
mtext("MAX F", col = "black", adj=-0.1, padj=+0.1, cex=0.8)
grid(nx = NULL, ny = NULL,lty = 2, col = "gray", lwd = 1)
}
Данный вариант не работает:
Код:
Ошибка в dfL_F[[assemble]] :
на уровне 2 рекурсивная индексация не удалась