get_rhs {nlstac}R 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


[Package nlstac version 0.2.0 Index]