linear_term: Compute the product of a single numeric scalar and a single...

Description Usage Arguments Value

View source: R/utils.R

Description

A helper function for linear_expression.

Usage

1
linear_term(number, string)

Arguments

number

A numeric vector of length 1.

string

A character vector of length 1.

Value

A string consisting of the concatenation of number and string, including its sign.


causaloptim documentation built on Dec. 11, 2021, 9:56 a.m.