get_rhs: Get right hand side of a formula

View source: R/get_rhs.R

get_rhsR Documentation

Get right hand side of a formula

Description

Returns the dependent variable in a formula given by a string or a formula

Usage

get_rhs(form)

Arguments

form

Either a string in the form 'y ~ ...' or an object of formula class

Value

A string with the name of the left hand side variable in the formula


nlstac documentation built on April 11, 2023, 6:12 p.m.

Related to get_rhs in nlstac...