Re: [R] kaplan-meier error

2009-07-21 Thread Marc Schwartz
On Jul 21, 2009, at 7:23 PM, Joseph Magagnoli wrote: Hi all, I am getting an error in my code and I don't know what the problem is. I am using R 2.9 on ubuntu. my code is as follows: ## Libraries ## library(survival) library(foreign) ## reading data ## data<-read.dta("http://psfaculty.ucdav

[R] kaplan-meier error

2009-07-21 Thread Joseph Magagnoli
Hi all, I am getting an error in my code and I don't know what the problem is. I am using R 2.9 on ubuntu. my code is as follows: ## Libraries ## library(survival) library(foreign) ## reading data ## data<-read.dta("http://psfaculty.ucdavis.edu/bsjjones/cabinet.dta";) head(data) attach(data)