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 March 31, 2023, 5:29 p.m.