[R] extracting the levels of a subset of data
Marc Mamin
M.Mamin at intershop.de
Fri Sep 19 11:37:16 CEST 2003
Hi,
> tmpdata<-subset(myd, TYPE=="A")
> levels(tmpdata$TYPE)
> [1] "A" "B" "C"
I'd like to get only "A" as output...
Thanks for your help
Marc
More information about the R-help
mailing list