search for: ranchspgsh

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

2011 Dec 28
1
subset() missing one factor
...(4 factors, 1 date, 1 numeric) and I need to create subsets for each of one of the factors ('stream'). This has worked flawlessly for all but two streams which were created yesterday. The command I use to create the subsets is like this: > rnchH <- subset(chemdata, stream == 'RanchSpgsH', select = c(site, sampdate, param, quant), drop = T) but it does not copy the dates in 'sampdate' for this and one other subset: > str(rnchH) 'data.frame': 0 obs. of 4 variables: $ site : Factor w/ 138 levels "BC-0.5","BC-1",..: $ sampdate:Class...