Description Usage Arguments Value

Sample multiple datasets and compute the Bayes factor in each

1 |

`datasets` |
A number. The number of datasets to simulate for each
sample size |

`n` |
A number. The group sample size to be used in data simulation |

`ngroup` |
A number. The number of groups. |

`means` |
A vector of expected population means. |

`sds` |
A vector of expected population standard deviations Note, when standardized, this is a vector of 1s |

`h1` |
A constraint matrix defining H1. |

`h2` |
A constraint matrix defining H2. |

`scale` |
A number specifying the prior scale. |

`nsamp` |
A number. The number of samples for the fit and complexity
See |

A vector of Bayes factors BF12 for each of the simulated datasets

BayesianPower documentation built on July 1, 2020, 6:02 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.