getCoefficients: Get coefficients from a character

View source: R/symbolics.R

getCoefficientsR Documentation

Get coefficients from a character

Description

Get coefficients from a character

Usage

getCoefficients(char, symbol)

Arguments

char

character, e.g. "2*x + y"

symbol

single character, e.g. "x" or "y"

Value

numeric vector with the coefficients


dkaschek/dMod documentation built on March 1, 2025, 9:04 p.m.