Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
List arguments from data frame columns in formula
npobedina
·
Jan 12, 2010
·
r-help
Thanks a lot for help! :) I've invented a more complicated way to make it work: f <- as.formula(paste("data.y~", paste( names(data.x), collapse = "+"))) fml<-glm(f, data=data.x,family=binomial) Try this: glm(y ~ ., family...
List arguments from data frame columns in formula
npobedina
·
Jan 12, 2010
·
r-help
Hi! I'm trying to run logistic regression on a dataset which is contained in dataframe "data" ("y" is in the first col, and 28 parameters for the model). How can I write formula for function `glm` without listing explicitly...
Can't find what you're looking for? Try searching with Google .