Learn R Programming

ssMRCD (version 1.1.0)

time_weights: Band weight matrix for time series groupings

Description

Band weight matrix for time series groupings

Usage

time_weights(N, off_diag)

Value

Returns weight matrix for time series groups appropriate for ssMRCD.

Arguments

N

number of groups.

off_diag

vector for off-diagonal values unequal to zero.

See Also

geo_weights, rescale_weights

Examples

Run this code
time_weights(N = 10, off_diag = c(2,1))

Run the code above in your browser using DataLab