On Jun 2, 2013, at 08:08 , Matt Stati wrote:

>> From my larger data set I created a subset of it by using: 
> 
> subset_1 <- subset(timeuse, IndepTrans = 1, Physical = 1)

That's not going to work. Try

subset(timeuse, (IndepTrans == 1) & (Physical == 1))

(Whenever you do things like this, run summary(subset_1) to check.)

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: [email protected]  Priv: [email protected]

______________________________________________
[email protected] 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.

Reply via email to