Skip to contents

Helper function: parse equation

Usage

parse_equation(equation)

Arguments

equation

equation in text form (either "constant" -> y = c or "ln" -> y = a * ln(x) + b)

Value

R function of parsed equation