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: [EMAIL PROTECTED]
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.