getclass.DN {DynNom} | R Documentation |
Extract class and family of a model object
Description
getclass.DN
extracts class and family of a model object (supported in DynNom
).
Usage
getclass.DN(model)
Arguments
model |
an |
Value
A list including the model class and the family name of the model (if relevant).
See Also
Examples
fit1 <- glm(Survived ~ Age + Class + Sex, data = as.data.frame(Titanic),
weights = Freq, family = binomial("probit"))
getclass.DN(fit1)
library(survival)
fit2 <- coxph(Surv(time, status) ~ age + strata(sex) + ph.ecog, data = lung)
getclass.DN(fit2)
[Package DynNom version 5.1 Index]