search for: lotsofdata

Displaying 1 result from an estimated 1 matches for "lotsofdata".

2007 Jul 03
1
Formula syntax question
...ve 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...