Re: [R] Help with lrm function in package Design

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Mon 02 Oct 2006 - 16:47:36 GMT

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. Received on Tue Oct 03 03:02:20 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 02 Oct 2006 - 17:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.