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 June 22, 2024, 10:25 a.m.