dot-history_to_index: Convert history to array index

.history_to_indexR Documentation

Convert history to array index

Description

Convert history to array index

Usage

.history_to_index(history, n_categories)

Arguments

history

Integer vector of category values

n_categories

Number of categories

Value

Integer index (1-based) into flattened array


antedep documentation built on April 25, 2026, 1:06 a.m.