search for: burnscrk

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

2011 Dec 28
1
subset() missing one factor
...The source for chemdata (accessed by read.table()) has dates for this stream; e.g., RNCHS|1994-03-23|pH|7.66|RanchSpgsH|H RNCHS|1994-01-20|pH|7.66|RanchSpgsH|H If I use the same command on a different stream the sampdate column contains the dates: > b2 <- subset(chemdata, stream == 'BurnsCrk', select = c(site, sampdate, param, quant), drop = T) > str(b2) 'data.frame': 2472 obs. of 4 variables: $ site : Factor w/ 138 levels "BC-0.5","BC-1",..: 5 5 5 5 5 5 5 5 5 ... $ sampdate: Date, format: "1992-03-27" "1992-04-30" ... $...