check_data_cols | R Documentation |
Checks that a dataframe to be reformatted for bayesact or interact has the necessary columns – term, E, P, A, and sd or cov if needed (bayesact only).
check_data_cols(data, program, group = "none", stat = "mean")
data |
dataframe to check |
program |
for bayesact or for interact (bayesact can only have three EPA columns, interact can have 3 or 6... could print a warning if 6 are passed to bayesact) |
group |
name of the grouping column (for interact only) |
stat |
statistic type wanted (mean, sd, cov) |
logical
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.