fwdglm(formula, family, data, weights, na.action, contrasts = NULL, bsb = NULL,
balanced = TRUE, maxit = 50, epsilon = 1e-06, nsamp = 100, trace = TRUE)lmsglm with control arguments provided bTRUE the proportion of successes on the full dataset is approximately balanced during the forward search algorithm.glm.control for details.glm.control for details.lmsglm. This argument allows to control how many subsets are used in the robust fitting procedure. The choices TRUE a message is printed for every ten iterations completed during the forward search.lmsglm.TRUE if binary response.summary.fwdglm, plot.fwdglm, fwdlm, fwdsco.data(cellular)
cellular$TNF <- as.factor(cellular$TNF)
cellular$IFN <- as.factor(cellular$IFN)
mod <- fwdglm(y ~ TNF + IFN, data=cellular, family=poisson(log), nsamp=200)
summary(mod)
plot(mod)
plot(mod, 1)
plot(mod, 5)
plot(mod, 6, ylim=c(-3, 20))
plot(mod, 7)
plot(mod, 8)Run the code above in your browser using DataLab