subset_changepoints: Subset the change points computed either basad.cp or solo.cp...

View source: R/subset_changepoints.R

subset_changepointsR Documentation

Subset the change points computed either basad.cp or solo.cp Corresponds to point 2-4 in Algorithm 1 in the manuscript

Description

Subset the change points computed either basad.cp or solo.cp Corresponds to point 2-4 in Algorithm 1 in the manuscript

Usage

subset_changepoints(ratio, del = 5)

Arguments

ratio

marginal inclusion probabilities, as computed for example by the solocp_single function

del

Delta parameter in the parameter, mininum spacing between change points to be considered nonconsecutive (we set it equal to 5 by defauly)

Value

subset of change points indexes


lorenzocapp/solocp documentation built on Oct. 2, 2022, 4:45 p.m.