perhaps ?subset subset(hs, hs$hey60==0) --- temiz <[EMAIL PROTECTED]> wrote:
> hello > > I want to have subset of my dataset that is equal to > 0. But, > I got this error message. > > > hs2=hs[hs$hey60==0 ,] > Error in hs[hs$hey60 == 0, ] : (subscript) logical > subscript too long > > > regards > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, > reproducible code. > Looking for the perfect gift? Give the gift of Flickr! ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.