Re: [R] Correct Syntax for subset.data.frame()

2011-08-31 Thread jim holtman
I think you want param == "As" On Wednesday, August 31, 2011, Rich Shepard wrote: > I want to create individual data.frames for each of the 8 param factors in > chemdata. The syntax I tried (based on Teetor's book, page 132) and R's > response are: > >> ars <- subset(chemdata, select=c(site,sam

[R] Correct Syntax for subset.data.frame()

2011-08-31 Thread Rich Shepard
I want to create individual data.frames for each of the 8 param factors in chemdata. The syntax I tried (based on Teetor's book, page 132) and R's response are: ars <- subset(chemdata, select=c(site,sampdate,param,quant), subset=(param = "As")) Error in subset.data.frame(chemdata, select = c(