Hello,
Can't you simply lapply(b, lines, lwd = 2) ?
Hope this helps,
Rui Barradas
Em 23-12-2012 02:19, eliza botto escreveu:
Dear useRs,while trying to plot the yearly curves of 1000 stations and
overlapping each set of curves with mean curve and then saving it automatically
in a pdf file,
), function(i) (matplot(res[[i]][,-1],
type=l,col=grey)))
lapply(b, lines, lwd = 2,col=black)
}
dev.off()
thanks in advance
eliza
Date: Sun, 23 Dec 2012 14:14:08 +
From: ruipbarra...@sapo.pt
To: eliza_bo...@hotmail.com
CC: r-help@r-project.org
Subject: Re: [R] correction needed in codes
Merry christmas.
Rui Barradas
Em 23-12-2012 16:41, eliza botto escreveu:
Dear Rui,thankyou very much. it was spot on. :D
eliza
Date: Sun, 23 Dec 2012 16:36:46 +
From: ruipbarra...@sapo.pt
To: eliza_bo...@hotmail.com
CC: r-help@r-project.org
Subject: Re: [R] correction needed in codes
,col=black)
}
dev.off()
thanks in advance
eliza
Date: Sun, 23 Dec 2012 14:14:08 +
From: ruipbarra...@sapo.pt
To: eliza_bo...@hotmail.com
CC: r-help@r-project.org
Subject: Re: [R] correction needed in codes
Hello,
Can't you simply lapply(b, lines, lwd = 2) ?
Hope this helps,
Rui
Dear Rui,thankyou very much. it was spot on. :D
eliza
Date: Sun, 23 Dec 2012 16:36:46 +
From: ruipbarra...@sapo.pt
To: eliza_bo...@hotmail.com
CC: r-help@r-project.org
Subject: Re: [R] correction needed in codes
Hello,
How about
fun - function(i){
matplot(res[[i
same to u. :D
eliza
Date: Sun, 23 Dec 2012 16:42:03 +
From: ruipbarra...@sapo.pt
To: eliza_bo...@hotmail.com
CC: r-help@r-project.org
Subject: Re: [R] correction needed in codes
Merry christmas.
Rui Barradas
Em 23-12-2012 16:41, eliza botto escreveu:
Dear Rui,thankyou very
Dear useRs,while trying to plot the yearly curves of 1000 stations and
overlapping each set of curves with mean curve and then saving it automatically
in a pdf file, i tried the following commands
Path = C:\\R\\003.pdfpdf(file=Path) for (i in seq(1:1000)
a-lapply(seq_along(tcp),
7 matches
Mail list logo