Re: [R] logistic regression - using polys and products of features

2005-06-17 Thread ronggui
On Fri, 17 Jun 2005 07:39:30 +1000 Stephen Choularton [EMAIL PROTECTED] wrote: Hi I can get all my features by doing this: logistic.model = glm(similarity ~ ., family=binomial, data = cData[3001:3800,]) I can get the product of all my features by this: logistic.model =

[R] logistic regression - using polys and products of features

2005-06-16 Thread Stephen Choularton
Hi I can get all my features by doing this: logistic.model = glm(similarity ~ ., family=binomial, data = cData[3001:3800,]) I can get the product of all my features by this: logistic.model = glm(similarity ~ . ^ 2, family=binomial, data = cData[3001:3800,]) I don't seem to be able to