R/Model.getModel.R

Defines functions getModel

Documented in getModel

## fonction to computes the lm object and get the BIC criteria of a model
getModel <- function(formule, response, regTab){
    model <- lm(formula = as.formula(paste(response, "~", formule,  sep="")), data=regTab, na.action=na.omit)
    return(model)
}
####################

Try the ITALICS package in your browser

Any scripts or data that you put into this service are public.

ITALICS documentation built on Nov. 8, 2020, 6:48 p.m.