Yes, outcome is there.
On Wed, Apr 21, 2010 at 3:47 PM, Steve Lianoglou < mailinglist.honey...@gmail.com> wrote: > Hi, > > On Wed, Apr 21, 2010 at 5:20 PM, Changbin Du <changb...@gmail.com> wrote: > > HI, Dear R community, > > > > Last friday, I used the codes, it works, but today, it does not run? > > > > > >> fit.dimer <- rpart(outcome ~., method="class", data=p.df) > > Error in `[.data.frame`(frame, predictors) : undefined columns selected > > > > > > DOEs anyone have comments or suggestions? Thanks in advance! > > How about checking the result of: > > R> colnames(p.df) > > Is "outcome" in there? > > -- > Steve Lianoglou > Graduate Student: Computational Systems Biology > | Memorial Sloan-Kettering Cancer Center > | Weill Medical College of Cornell University > Contact Info: > http://cbio.mskcc.org/~lianos/contact<http://cbio.mskcc.org/%7Elianos/contact> > -- Sincerely, Changbin -- Changbin Du DOE Joint Genome Institute Bldg 400 Rm 457 2800 Mitchell Dr Walnut Creet, CA 94598 Phone: 925-927-2856 [[alternative HTML version deleted]] ______________________________________________ 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.