library(tidystats)
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

tidystats

Coverage Status Travis build status

The goal of tidystats is to provide a "tidy-in, tidy-out" interface to statistical tests, including implementations for many tests in the stats package. Generally, a test object will get created using columns from a (tidy) data.frame. For example, a t-test using the sleep dataset would look like this:

head(sleep)
test <- tidy_t_test(sleep, values = extra, groups = group)

Installation

You can install tidystats from github with:

# install.packages("devtools")
devtools::install_github("paleolimbot/tidystats")

Philosophy

The (currently loose) philosphy of this package is to make statistics easier to teach by using consistent terminology and syntax across functions. So far, the loose set of rules is as follows:

Contributing

Please contribute to this package! I imagine there are a lot of ideas of how to go about this, and now is a great time to try all of them.



paleolimbot/tidystats documentation built on May 15, 2019, 4:16 p.m.