search for: r1data

Displaying 1 result from an estimated 1 matches for "r1data".

Did you mean: c1data
1999 Jan 20
1
Inherit names ...
...it(1024) The names of the 26 columns get denoted as y.1 to y.6, g.1 to g.6, yc.1 to yc.6, gc.1 to gc.6, yi and gi as these are the internal names. I wish to make a subset of the data using the logical vector R1(length 1024) so that only the cases where R1 is TRUE are included. I can do this by: R1data<-alldata[R1] that gives a vector 7800 long (there are 300 TRUE's in R1) so I do R1data<-as.data.frame(alldata[R1]) which gives a matrix 7800x1 so I write: R1data<-alldata[R1];dim(R1data)<-c(300,26) which gives the data in the right form except I haven't inherited the names...