Description Usage Arguments Value Author(s)
Get means by domain group for various variables from block model and sample files. Combine the statistics in wide and tall (tidy) formats for tabulation and plotting respectively.
1 | means_by_group(bm, bm_value, samp, samp_value, group, samp_weight = NULL)
|
bm |
Block model as data frame. |
bm_value |
Name of column in block model for calculation of mean. |
samp |
Sample data as data frame. |
samp_value |
Name of field in sample data for mean calculation. |
group |
Grouping field present in block model and sample data. |
samp_weight |
Optional decluster weight field in sample file. |
List of data frames with wide (for report tables) and tall (tidy) layout.
Alex M Trueman
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.