On 4/10/08, Sébastien <[EMAIL PROTECTED]> wrote:
> Dear R-users,
>
> Please consider the following script:
>
> #
>
> library(lattice)
> ID <- rep(1:8,each=2)
> x <- rep (c(1,2),8)
> y <- c(rep(c(0.5,2),4),rep(c(50,1000),4))
> df<-data.frame(ID,x,y)
> g <- rep(1:2,each=8)
> df.split<-sp
Dear R-users,
Please consider the following script:
#
library(lattice)
ID <- rep(1:8,each=2)
x <- rep (c(1,2),8)
y <- c(rep(c(0.5,2),4),rep(c(50,1000),4))
df<-data.frame(ID,x,y)
g <- rep(1:2,each=8)
df.split<-split(df,g)
df.split
pdf(file="C:/Test.pdf")
for (i in 1:2) {
mydf<-as.data.fram
2 matches
Mail list logo