PartitionParameters: Partition parameters

View source: R/PartitionParameters.R

PartitionParametersR Documentation

Partition parameters

Description

Partitions - and, ultimately, estimates - all parameters of a BCPA, either as a rolling average (smooth BCPA), or as constant values within fixed change points (flat BCPA).

Usage

PartitionParameters(
  windowsweep,
  type = c("smooth", "flat")[1],
  clusterwidth = 1
)

Arguments

windowsweep

a windowsweep object, i.e. the output of the WindowSweep function.

type

type of estimate to output, whether "smooth" or "flat".

clusterwidth

the temporal range within which changepoints are considered to be within the same cluster (for a "smooth" BCPA).

Value

a data frame containing the three estimates: mu.hat, s.hat, rho.hat.

Author(s)

Eliezer Gurarie

See Also

used in ChangePointSummary and PhasePlot


bcpa documentation built on May 30, 2022, 5:07 p.m.