search for: rnchh

Displaying 2 results from an estimated 2 matches for "rnchh".

2011 Dec 28
1
subset() missing one factor
...t (called 'chemdata') has 6 columns (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-...
2012 Jan 09
1
Different lm() Residuals Output
...~ Cond + Ca + Cl + Mg + Na + SO4, data = snow.cast) Residuals: Min 1Q Median 3Q Max -277.351 -32.551 -2.621 40.812 245.272 The one that doesn't has only a small number of rows (23) and presents the results as: lm(formula = TDS ~ Cond + Ca + Cl + Mg + SO4, data = rnchH.cast) Residuals: 8 9 10 11 12 13 14 16 20 21 -2.1926 3.2306 -3.9823 -4.0491 0.5284 1.9354 2.4798 0.8952 -3.0642 0.8781 22 3.3408 What might cause this difference? Rich