getclass.DN | R Documentation |
getclass.DN
extracts class and family of a model object (supported in DynNom
).
getclass.DN(model)
model |
an |
A list including the model class and the family name of the model (if relevant).
DynNom
, DNbuilder
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.