Re: [R] troubles with logistic regression

2011-03-13 Thread Bill.Venables
functions. This is also a way to avoid problems and would have helped you here as well. Bill Venables. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of gked Sent: Monday, 14 March 2011 4:33 AM To: r-help@r-project.org Subjec

[R] troubles with logistic regression

2011-03-13 Thread gked
hello everyone, I working on the dataset for my project in class and got stuck on trying to run logistic regression. here is my code: data <- read.csv(file="C:/Users/fieder.data.2000.csv") # creating subset of men fieder.male<-subset(data,data[,8]==1) unmarried.male<-subset(data,data[,8]==1&data[