knitr::opts_chunk$set( echo = TRUE, collapse = TRUE, comment = "#>", # fig.path = "man/figures/README-", out.width = "100%" ) options(tibble.print_min = 5, tibble.print_max = 5)
The sprtt
package is a sequential probability ratio tests toolbox (sprtt).
The package contains:
seq_ttest()
, seq_anova()
calculates sequential t-test and sequential one-way ANOVAs
three data sets (df_income
, df_stress
, df_cancer
) to run the examples in the t-test documentation
plot_anova()
plots results of sequential ANOVAs
draw_sample_normal()
, draw_sample_mixture()
simulation of data sets
This is the recommended version for a normal user.
# installs the package install.packages("sprtt")
To get a bug fix or to use a feature from the development version, you can install the development version from GitHub.
# the installation requires the "devtools" package # install.packages("devtools") devtools::install_github("MeikeSteinhilber/sprtt")
Detailed documentation can be found on the home page. There are several articles covering the usage of the package, the theoretical background of the test, and also an extended use case.
Short examples can be found in the following paragraph.
Note
In the R code sections:
# comment
: is a comment
function()
: is R code
#> results of function()
: is console output
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.