| compute_hash | R Documentation |
Treats the supplied columns as a composite key: rows that agree on
every value in vars_use receive the same integer hash, distinct
combinations receive distinct hashes. Used internally by
collapse_counts() to identify pseudobulk groups, but exposed for
callers who need the same indexing in their own code.
compute_hash(data_df, vars_use)
data_df |
A data.frame. |
vars_use |
Character vector of column names in |
Integer vector of length nrow(data_df).
collapse_counts()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.