Learn R Programming

nlstac (version 0.2.0)

get_rhs: 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)

Value

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

Arguments

form

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