Forgive me if this is obvious:

        I have a frame of data with the variables in each column (e.g.  
Discrete_Variable1, ContinuousVariable_1, ContinuousVariable_2,  ...   
ContinuousVariable_n)

        and I want to create a model using lrm i.e.
        model <- lrm(Discrete_Variable1 ~ ContinuousVariable_1,  
data=lotsofdata)

        Is there a syntax for having all the continuous variables referenced  
in the formula without having to enumerate them all?

        I've seen the ~ . notation but when I try


        model <- lrm(Discrete_Variable1 ~  ., data=lotsofdata)

        I get this error:

        Error in terms.formula(formula, specials = "strat") :
        '.' in formula and no 'data' argument
        

        Any help is appreciated.

-Zak
        [[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.

Reply via email to