ChangePointAnalyzePoiss: ChangePointAnalyzePoiss

Description Usage Examples

View source: R/RcppExports.R

Description

Supported C++ function used in function est.changepoints.

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
n <- 20
max.segs <- 5

data.x <- rpois(n, 1)
data.x <- c(data.x, rpois(n, 10))
data.x <- c(data.x, rpois(n, 50))
data.x <- c(data.x, rpois(n, 20))
data.x <- c(data.x, rpois(n, 80))

prior <- prior.pois(data.x)

ChangePointAnalyzePoiss(data.x, n, max.segs, prior)

StepSignalMargiLike documentation built on May 2, 2019, 1:02 p.m.