Learn R Programming

ambit (version 0.1.2)

AddWeightedSlices_Rcpp: Add slices and return vector of the weighted sums of slices

Description

Add slices and return vector of the weighted sums of slices

Usage

AddWeightedSlices_Rcpp(slicematrix, weightvector)

Value

Returns the vector of the weighted sums of the slices

Arguments

slicematrix

A matrix of slices.

weightvector

A vector of weights.