search for: data_frame1

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

Did you mean: data_frame
2012 Sep 25
2
Strange data frame behavior
Hello all, I don't understand a strange behavior in data frame manipulation. data_frame1 = data.frame(Site = c("S1", "S2", "S3", "S4", "L1", "L2", "L3", "L4"), Number = c(1, 3, 5, 2, 1, 1, 2, 1)) data_frame2 = data_frame1 [data_frame1$Site != "S1", ] dput (data_frame2) structure(list(...