.make_uoa_cluster_df | R Documentation |
Make a dataframe that links units of assignment with clusters
.make_uoa_cluster_df(spec, cluster = NULL)
spec |
A |
cluster |
A character vector of column names to use as clusters.
Columns must exist in the dataframe used to create the
|
A dataframe where the number of rows coincides with the number of
distinct unit of assignment or cluster combinations (depending on whether
cluster
is a more or less granular level than the assignment level) and
the columns correspond to the unit of assignment columns and a "cluster"
column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.