exposure | R Documentation |
Returns the pairwise exposure indices between groups
exposure(data, group, unit, weight = NULL)
data |
A data frame. |
group |
A categorical variable
contained in |
unit |
A vector of variables
contained in |
weight |
Numeric. (Default |
Returns a data.table with columns "of", "to", and "exposure". Read results as "exposure of group x to group y".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.