modelFitting: Fit a model to the data

Description Usage Arguments Value Author(s)

Description

This function fits a linear, logistic, or Cox proportional hazards regression model to given data

Usage

1
2
3
4
5
	modelFitting(model.formula,
	             data,
	             type = c("LOGIT", "LM", "COX","SVM"),
	             fitFRESA=TRUE,
	              ...)

Arguments

model.formula

An object of class formula with the formula to be used

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 glm object

Value

A fitted model of the type defined in type

Author(s)

Jose G. Tamez-Pena and Antonio Martinez-Torteya


FRESA.CAD documentation built on Jan. 13, 2021, 3:39 p.m.