evaluate_objective: Compute the scalar product of a vector of numbers and a...

Description Usage Arguments Value

View source: R/utils.R

Description

A helper function for opt_effect.

Usage

1
evaluate_objective(c1_num, p, y)

Arguments

c1_num

A numeric column matrix.

p

A character vector.

y

A numeric vector whose length is the sum of the lengths of c1_num and p.

Value

A string consisting of an affine expression in p corresponding to the scalar product of c(c1_num, p) with y.


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