jk_dim_sum: Sum all the values in the second and third dimensions of a...

Description Usage Arguments

Description

jkDimSum takes a three dimensional integer vector, fixes the value of the first dimension, and then sums the values of all the entries in the vector with that value for its first dimension.

Usage

1
jk_dim_sum(n, i)

Arguments

n

A three dimensional integer vector.

i

An integer that is a valid index of the first dimension of n.


cwcartmell/maRkov documentation built on May 14, 2019, 1:37 p.m.