knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of mcpwr is to perform Monte Carlo power calculations
You can install the development version of mcpwr from GitHub with:
# install.packages("devtools") devtools::install_github("TJMurphy/mcpwr")
The poisdm function is a datamaker to simulate groups of Poisson-distributed count data. The plot argument allows users to print a histogram and jitterplot of the output.
library(mcpwr) # generate data and graphs # for group 1 (group of 40 measurements with a mean of 10) # and group 2 (group of 50 with measurements with a mean of 12) poisdm(c(40, 50), c(10, 12), c("group1", "group2"), TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.