ssf_formula: Takes a 'clogit' formula and returns a formula without the...

View source: R/simulate.R

ssf_formulaR Documentation

Takes a clogit formula and returns a formula without the strata and the left-hand side

Description

Takes a clogit formula and returns a formula without the strata and the left-hand side

Usage

ssf_formula(formula)

Arguments

formula

A formula object

Examples

f1 <- case_ ~ x1 * x2 + strata(step_id_)
ssf_formula(f1)

amt documentation built on June 25, 2024, 1:14 a.m.