| estimate_pillai | R Documentation |
Unified front-end for Pillai-Bartlett trace. If group_col is
NULL, computes a single global Pillai trace for the full dataset.
If group_col is provided, computes Pillai per group (e.g., per
speaker).
estimate_pillai(
data,
features,
category_col,
group_col = NULL,
min_tokens = 20
)
data |
Data frame. |
features |
Character vector of numeric feature columns. |
category_col |
String; category column name. |
group_col |
Optional character vector of one or more grouping columns.
If |
min_tokens |
Minimum tokens (globally or per group). |
A data frame with either one global row or one row per group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.