Learn R Programming

mosaicCore (version 0.9.4.0)

rhs_or_expr: Return rhs of a formula or expression

Description

Return rhs of a formula or expression

Usage

rhs_or_expr(x)

Arguments

x

A formula or some other object to be quoted

Examples

Run this code
# This should evaluate to TRUE
rhs_or_expr(~z)
rhs_or_expr(z)
identical(rhs_or_expr(~z), rhs_or_expr(z))

Run the code above in your browser using DataLab