PartitionParameters {bcpa} | R Documentation |
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).
PartitionParameters(
windowsweep,
type = c("smooth", "flat")[1],
clusterwidth = 1
)
windowsweep |
a |
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). |
a data frame containing the three estimates: mu.hat
,
s.hat
, rho.hat
.
Eliezer Gurarie
used in ChangePointSummary
and
PhasePlot