Learn R Programming

BayesChange (version 2.3.0)

summary.DetectCpObj: DetectCpObj summary method

Description

The DetectCpObj method returns a summary of the algorithm.

Usage

# S3 method for DetectCpObj
summary(object, ...)

Arguments

object

An object of class DetectCpObj;

...

parameter of the generic method.

Examples

Run this code

data("eu_inflation")

params_uni <- list(a = 1, b = 1, c = 1, prior_var_phi = 0.1,
                   prior_delta_c = 1, prior_delta_d = 1)

out <- detect_cp(data = eu_inflation[1,], n_iterations = 1000,
                 n_burnin = 100, q = 0.5, params = params_uni,
                 kernel = "ts")
summary(out)

Run the code above in your browser using DataLab