Learn R Programming

BMisc (version 1.4.6)

rhs: Right-hand Side of Formula

Description

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

Usage

rhs(formla)

Value

a one sided formula

Arguments

formla

a formula

Examples

Run this code
ff <- yvar ~ x1 + x2
rhs(ff)

Run the code above in your browser using DataLab