Skip to content
Prev 361198 / 398506 Next

subset data right

You did not change df$quant - you made a new object called 'subdf'
containing a column called 'quant' that had only one level.  Changing
subdf has no effect on df.
'data.frame':   26 obs. of  1 variable:
 $ quant: Factor w/ 26 levels "a","b","c","d",..: 1 2 3 4 5 6 7 8 9 10 ...
'data.frame':   26 obs. of  1 variable:
 $ quant: Factor w/ 26 levels "a","b","c","d",..: 1 2 3 4 5 6 7 8 9 10 ...
'data.frame':   1 obs. of  1 variable:
 $ quant: Factor w/ 1 level "a": 1



Bill Dunlap
TIBCO Software
wdunlap tibco.com

On Thu, May 26, 2016 at 12:35 PM, ch.elahe via R-help <r-help at r-project.org>
wrote: