search for: yrclass

Displaying 3 results from an estimated 3 matches for "yrclass".

Did you mean: grclass
2004 Nov 10
1
Basic Q on coercing factors in data frames to numeric
...ples from 'An introduction to R', 'S-plus 6 programmers guide', etc, use simple vectors. I'm sure I'm missing something obvious but I can't find a way to change a single column in data frame. Ive tried several approaches: here is one > summary(test) age yrclass weight year 1 :10 1992 :10 Min. :0.005333 Min. :1993 2 :10 1989 : 9 1st Qu.:0.221790 1st Qu.:1995 3 :10 1990 : 9 Median :0.413411 Median :1997 4 :10 1991 : 9 Mean :0.420119 Mean :1997 5 :10 1988...
2005 Mar 16
1
Note: "The default device has been opened to honour attempt to modify trellis settings"
...after plotting. I have to close the graphics device to get the desired result (and it works only after a few more function calls) Here is the function code "function"<-function(somedata) { .......... library(lattice) trellis.par.set(theme = col.whitebg()) xyplot(log.catch ~ age | yrclass , data = tmp2) detach(package:lattice) savePlot(file="catch curve",type="jpeg") } function(somedata) Thanks in advance. I'm running on Windows XP > version _ platform i386-pc-mingw32 arch i386 os mingw32 system...
2004 Nov 11
0
ROracle SQL length limitation
...ples from 'An introduction to R', 'S-plus 6 programmers guide', etc, use simple vectors. I'm sure I'm missing something obvious but I can't find a way to change a single column in data frame. Ive tried several approaches: here is one > summary(test) age yrclass weight year 1 :10 1992 :10 Min. :0.005333 Min. :1993 2 :10 1989 : 9 1st Qu.:0.221790 1st Qu.:1995 3 :10 1990 : 9 Median :0.413411 Median :1997 4 :10 1991 : 9 Mean :0.420119 Mean :1997 5 :10 1988...