This function fits a linear, logistic, or Cox proportional hazards regression model to given data
modelFitting(model.formula,
data,
type = c("LOGIT", "LM", "COX","SVM"),
fitFRESA=TRUE,
...)
An object of class formula
with the formula to be used
A data frame where all variables are stored in different columns
Fit type: Logistic ("LOGIT"), linear ("LM"), Cox proportional hazards ("COX") or "SVM"
if true it will perform use the FRESA cpp code for fitting
Additional parameters for fitting a default glm
object
A fitted model of the type defined in type