Learn R Programming

BMisc (version 1.4.8)

rhs: Right-hand Side of Formula

Description

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

Usage

rhs(formula)

Value

a one sided formula

Arguments

formula

a formula

Examples

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

Run the code above in your browser using DataLab