linear_term {causaloptim}R Documentation

Compute the product of a single numeric scalar and a single string

Description

A helper function for linear_expression.

Usage

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.


[Package causaloptim version 0.8.2 Index]