Description Usage Arguments Value Examples
This function calculates the cumulative Bayes factors
with three priors. The output of this function is used for
plot_confirmatory
as an input. The function
can accept a dataframe that is already only containing the
cumulative success variable cumulative_success
,
or a raw dataframe.
1 |
df |
dataframe, the input dataframe |
The function returns a wide formatted dataframe with the number of trials, and the Bayes factors with the three different trials.
1 2 | # Calculate the cumulative Bayes factors
cumulative_results <- cumulative_bayes_factor(df = example_m0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.