Learn R Programming

tern (version 0.9.8)

muffled_car_anova: Muffled car::Anova

Description

Applied on survival models, car::Anova() signal that the strata terms is dropped from the model formula when present, this function deliberately muffles this message.

Usage

muffled_car_anova(mod, test_statistic)

Value

The output of car::Anova(), with convergence message muffled.

Arguments

mod

(coxph)
Cox regression model fitted by survival::coxph().

test_statistic

(string)
the method used for estimation of p.values; wald (default) or likelihood.