Learn R Programming

causaloptim (version 0.9.1)

constant_term: Compute the scalar product of two numeric vectors of the same length

Description

A helper function for evaluate_objective.

Usage

constant_term(numbers1, numbers2)

Arguments

numbers1, numbers2

Two numeric vectors of the same length.

Value

A string consisting of the value of the scalar product of numbers1 and numbers2.