Hi,
How is it possible to specify all predictors in ridge function?
suppose that I have 100 predictors and I want to apply ridge to all 100 variables. instead of putting the name of all variables separated by "," (see 2nd code line below),  which notation should I use so that ridge would be applied to all variables?

something similar to . that is used  in coxph 
coxph (Surv(Survtime, Survstat) ~., data = ...

usage of ridge function

ridge(..., theta, df=nvar/2, eps=0.1, scale=TRUE)
fit1 <- coxph(Surv(futime, fustat) ~ rx + ridge(age, ecog.ps, theta=1),


              ovarian)

       
---------------------------------
Luggage? GPS? Comic books? 

	[[alternative HTML version deleted]]

