Learn R Programming

causaloptim (version 0.9.1)

linear_term: 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.