fitfunc: Fitting wrapper for coxwer

Description Usage Arguments Value

View source: R/coxwer.R

Description

Fitting wrapper for coxwer

Usage

1
fitfunc(fmla, data = data, type, currfamily = currfamily, ...)

Arguments

fmla

an R formula

data

the data frame to take the variables from

type

what is the type of the target variable

currfamily

current family for the glm

...

further arguents passed to the fitting functions

Value

a fitted model of either class multinom (categorical type) or polr (ordinal type) or glm.nb (count type) or glm (for type being metric or positive or so)


gRchain documentation built on May 2, 2019, 6:48 p.m.