Hi, there, I am having trouble using 'lrm' function in package 'Design'. Basically, the ' . ' after ' ~ ' wouldn't work. Here are some sample codes:> temp <-data.frame(a=c(rep(0,3),rep(1,3)),b=rnorm(6),c=c('a','b','c','a','b','c'))> lrm(a~.,data=temp)Error in terms.formula(formula, specials = "strat") : '.' in formula and no 'data' argument This code worked before but I can't remember the exact version number. Is there something being changed in the new version of lrm? If so, how to specify all other variables in the formula then? Thanks in advance, Auston> version_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 3.1 year 2006 month 06 day 01 svn rev 38247 language R version.string Version 2.3.1 (2006-06-01) Auston Wei Research Statistical Analyst Division of Quantitative Science The University of Texas MD Anderson Cancer Center Tel: 713-563-4281 Email: wwei@mdanderson.org [[alternative HTML version deleted]]
This is a bug in the Design package, please report it to its maintainer. Uwe Ligges WWei at mdanderson.org wrote:> Hi, there, > > I am having trouble using 'lrm' function in package 'Design'. Basically, > the ' . ' after ' ~ ' wouldn't work. Here are some sample codes: > >> temp <- > data.frame(a=c(rep(0,3),rep(1,3)),b=rnorm(6),c=c('a','b','c','a','b','c')) >> lrm(a~.,data=temp) > Error in terms.formula(formula, specials = "strat") : > '.' in formula and no 'data' argument > > This code worked before but I can't remember the exact version number. Is > there something being changed in the new version of lrm? If so, how to > specify all other variables in the formula then? > > Thanks in advance, > > Auston > > >> version > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status > major 2 > minor 3.1 > year 2006 > month 06 > day 01 > svn rev 38247 > language R > version.string Version 2.3.1 (2006-06-01) > > > > Auston Wei > Research Statistical Analyst > Division of Quantitative Science > The University of Texas MD Anderson Cancer Center > Tel: 713-563-4281 > Email: wwei at mdanderson.org > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch 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.
Thanks a lot. Will do. Auston Auston Wei Research Statistical Analyst Division of Quantitative Science The University of Texas MD Anderson Cancer Center Tel: 713-563-4281 Email: wwei@mdanderson.org Uwe Ligges <ligges@statistik.uni-dortmund.de> Sent by: r-help-bounces@stat.math.ethz.ch 10/02/2006 11:47 AM To: WWei@mdanderson.org cc: r-help@stat.math.ethz.ch Subject: Re: [R] Help with lrm function in package Design This is a bug in the Design package, please report it to its maintainer. Uwe Ligges WWei@mdanderson.org wrote:> Hi, there, > > I am having trouble using 'lrm' function in package 'Design'. Basically,> the ' . ' after ' ~ ' wouldn't work. Here are some sample codes: > >> temp <- >data.frame(a=c(rep(0,3),rep(1,3)),b=rnorm(6),c=c('a','b','c','a','b','c'))>> lrm(a~.,data=temp) > Error in terms.formula(formula, specials = "strat") : > '.' in formula and no 'data' argument > > This code worked before but I can't remember the exact version number.Is> there something being changed in the new version of lrm? If so, how to > specify all other variables in the formula then? > > Thanks in advance, > > Auston > > >> version > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status > major 2 > minor 3.1 > year 2006 > month 06 > day 01 > svn rev 38247 > language R > version.string Version 2.3.1 (2006-06-01) > > > > Auston Wei > Research Statistical Analyst > Division of Quantitative Science > The University of Texas MD Anderson Cancer Center > Tel: 713-563-4281 > Email: wwei@mdanderson.org > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch 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.______________________________________________ R-help@stat.math.ethz.ch 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. [[alternative HTML version deleted]]