Learn R Programming

amt (version 0.2.2.0)

ssf_formula: 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

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

Run the code above in your browser using DataLab