Displaying 2 results from an estimated 2 matches for "temp2new".
2013 Mar 29
1
multiple plots and looping assistance requested (single plot)
...",sub=paste(i,colnames(x)[2],sep=" "),xlab="Calendar Year Timesteps",ylab="Total Flux
>>>(kg/season)");lines(x[,1],x[,2])}))
>>>dev.off()
>>>
>>>#2 columns subset
>>>temp2<-temp1[lapply(temp1,length)==2]
>>>temp2New<-lapply(temp2,function(x) lapply(names(x)[-1], function(i) {x1<-
>>>cbind(x[,1],x[,i]);colnames(x1)<- c("Month",i);x1} ))
>>>
>>>pdf("seasonalFluxComparisonDataSetpartial.pdf")
>>>par(mfrow=c(1,1))
>>>lapply(names(temp2New),f...
2013 Mar 07
5
multiple plots and looping assistance requested (revised codes)
Hi Irucka,
I tried it and was able to plot it without any errors.? Here, your code indicates you need two lines. temper[[i]][1]
?temper[[1]][1] # which is the column 1.
? Month
1???? 1
2???? 2
3???? 3
?temper[[1]][2]
#? Data1
#1?? 1.5
#2? 12.3
#3? 11.4
Suppose I use names(temper) instead of seq_along(temper)
pdf("irucka.pdf")
?lapply(names(temper),function(i)