get_lhs {nlstac}R Documentation

Get left hand side of a formula

Description

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

Usage

get_lhs(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]