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 April 23, 2024, 5:18 p.m.