[R] data.frame subsetting
ligges at statistik.uni-dortmund.de
Thu Jul 24 17:10:07 CEST 2003
Dirk Repsilber wrote:
> is there advice how to subset a data.frame, where until R version 1.7.0
> it was possible to write
> > data[["subset"]]
> which meant the same as
> > data$subset
> (data is a data.frame). From 1.7.1 on this does not seem to work longer.
> Could there be a bug in downwards compatibility?
> sincerely yours
Works for me. Are you sure the object "data" is a data.frame in your case?
More information about the R-help