Take a formula and return the right hand side of the formula

rhs(formla)

Arguments

formla

a formula

Value

a one sided formula

Examples

ff <- yvar ~ x1 + x2
rhs(ff)
#> ~x1 + x2
#> <environment: 0x5636a00bbea0>