muffled_car_anova: Muffled 'car::Anova'

View source: R/cox_regression.R

muffled_car_anovaR Documentation

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)

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.

Value

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


tern documentation built on Sept. 24, 2024, 9:06 a.m.