Learn R Programming

crops (version 1.0.3)

Changepoints for a Range of Penalties (CROPS)

Description

Implements the Changepoints for a Range of Penalties (CROPS) algorithm of Haynes et al. (2017) for finding all of the optimal segmentations for multiple penalty values over a continuous range.

Copy Link

Version

Install

install.packages('crops')

Monthly Downloads

225

Version

1.0.3

License

GPL

Maintainer

Daniel Grose

Last Published

August 5th, 2022

Functions in crops (1.0.3)

subset

Subset crops results based on penalty values
print

Pretty printing for crops results
crops

Generic implementation of the crops algorithm (ref goes here).
plot

Visualisation of data, costs, penalty values and changepoint locations.
unique

Remove duplicate entries from a crops result
segmentations

Summary of segmentations by penalty value
summary

Summary of crops result