search for: latdata

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

Did you mean: lastdata
2003 Sep 10
2
dataframe subsetting
I can create a small dataset, "x" below, and subset out rows based on values of a certain variable. However, on the dataset I'm working on now, "latdata" below, I get a subscript error. Any advice is appreciated! Ryan Successful: > is.data.frame(x) [1] TRUE > x X1 X2 X3 1 1 3 5 2 2 4 6 > x[x$X2 %in% c(3),] X1 X2 X3 1 1 3 5 Unsuccessful: > is.data.frame(latdata) [1] TRUE > is.numeric(latdata$intent) [1] TRUE &...