modelFitting {FRESA.CAD} | R Documentation |
Fit a model to the data
Description
This function fits a linear, logistic, or Cox proportional hazards regression model to given data
Usage
modelFitting(model.formula,
data,
type = c("LOGIT", "LM", "COX","SVM"),
fitFRESA=TRUE,
...)
Arguments
model.formula |
An object of class |
data |
A data frame where all variables are stored in different columns |
type |
Fit type: Logistic ("LOGIT"), linear ("LM"), Cox proportional hazards ("COX") or "SVM" |
fitFRESA |
if true it will perform use the FRESA cpp code for fitting |
... |
Additional parameters for fitting a default |
Value
A fitted model of the type defined in type
Author(s)
Jose G. Tamez-Pena and Antonio Martinez-Torteya
[Package FRESA.CAD version 3.4.8 Index]