search for: interpar

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

Did you mean: interar
2008 Feb 25
3
Logical statements and subseting data...
...n't seem to correctly drop out this one observation, instead its dropping out far more observations... > t <- subset(raw.all.clean, Height.1 != 0 & Height.2 != 0) > dim(t) [1] 38150 10 Thus 7690 rows have been removed. It seems to be that the '&' operator is being interparated as an 'OR' (|) since... > dim(subset(raw.all.clean, Height.1 != 0)) [1] 42152 10 > dim(subset(raw.all.clean, Height.2 != 0)) [1] 41837 10 ...and... > dim(raw.all.clean) - dim(subset(raw.all.clean, Height.1 != 0)) [1] 3688 0 > dim(raw.all.clean) - dim(subset(raw.a...