knitr::opts_chunk$set( collapse = TRUE, fig.height = 7, fig.width = 9 )

```
library(Rcatch22)
```

`Rcatch22`

is an R package for the calculation of 22 CAnonical Time-series CHaracteristics (catch). The package is an efficient implementation that calculates time-series features coded in C.

The main function of the package is `catch22_all`

which automates the computation of the 22 features. This can be run in a one-liner:

data <- rnorm(100) outs <- catch22_all(data)

Taking a look at the returned dataframe, we can see a nice tidy data structure:

outs

An option to include the mean and standard deviation as features in addition to `catch22`

is available through setting the `catch24`

argument to `TRUE`

:

outs2 <- catch22_all(data, catch24 = TRUE) outs2

A list of the time-series features included in `Rcatch22`

can be viewed using the included `feature_list`

vector:

```
Rcatch22::feature_list
```

**Any scripts or data that you put into this service are public.**

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.