View source: R/help_parameter_estimation_functions.R
form_expression_glm | R Documentation |
Form expression to use with glm()
form_expression_glm(
param_to_be_estimated,
indep_var,
family,
covariates,
interaction,
naaction,
link
)
param_to_be_estimated |
parameter of interest |
indep_var |
the independent variable (column name in data file) |
family |
distribution name eg. for logistic regression -binomial |
covariates |
list of covariates |
interaction |
boolean value to indicate interaction in the case of generalised linear models, false by default |
naaction |
action to be taken with the missing values |
link |
link function if not the default for each family |
Form expression for the method glm
the formula for glm
formula <- form_expression_glm("admit",
indep_var = "gre", family = "binomial",
covariates = c("gpa", "rank"), interaction = FALSE, naaction = "na.omit",
link = NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.