time_weights: Band weight matrix for time series groupings

View source: R/general_helpers.R

time_weightsR Documentation

Band weight matrix for time series groupings

Description

Band weight matrix for time series groupings

Usage

time_weights(N, off_diag)

Arguments

N

number of groups.

off_diag

vector for off-diagonal values unequal to zero.

Value

Returns weight matrix for time series groups appropriate for ssMRCD.

See Also

geo_weights, rescale_weights

Examples

time_weights(N = 10, off_diag = c(2,1))


ssMRCD documentation built on Sept. 11, 2024, 5:14 p.m.