downupFPOP: Functional Pruned Optimal Partitioning 1D

Description Usage Arguments Value Examples

View source: R/FPOP.R

Description

Functional Pruned Optimal Partitioning 1D Algorithm

Usage

1
downupFPOP(data, cost = "gauss", beta = best_beta(data), affiche = FALSE)

Arguments

data

vector of data points

cost

a number

beta

a number

Value

a vector of changepoints, global cost

Examples

1
downupFPOP(c(rnorm(50, mean = 0, sd = 1), rnorm(50, mean = 100, sd = 1)))

Qrtsaad/CHANGEPOINT documentation built on Dec. 18, 2021, 8:42 a.m.