dot-count_cells_table_cat: Count cells efficiently using table()

.count_cells_table_catR Documentation

Count cells efficiently using table()

Description

Alternative implementation using R's table function.

Usage

.count_cells_table_cat(y, time_indices, n_categories, subject_mask = NULL)

Arguments

y

Data matrix (n_subjects x n_time)

time_indices

Integer vector of time indices

n_categories

Number of categories

subject_mask

Logical vector for subject selection

Value

Array of counts


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