Function_name | Package_name | Use |
---|---|---|
cox.zph | survival | To assess the proportional hazard assumption |
coxph | survival | To fit cox regression model |
ggforest | survminer | To produce a forest plot |
multinom | nnet | To fit multinomial models |
polr | MASS | To fir ordinal logistic and probit regressions |
Surv | survival | To create a survival object |
survdiff | survival | To compare survival times between groups |
survfit | survival | To create survival curves |
svy_vglm | svyVGAM | To fit design-based generalised linear models |
svycoxph | survey | To fit cox regression model for complex survey data |
svyglm.nb | sjstats | Negative binomial model for complex survey data |
svykm | survey | Estimate survival function for complex survey data |
svyolr | survey | Ordinal logistic for complex survey |
R functions (N)
The list of new R functions introduced in this non-binary data analysis lab component are below: