Learn R Programming

BayesChange (version 2.3.0)

summary.ClustCpObj: ClustCpObj summary method

Description

The ClustCpObj method returns a summary of the algorithm.

Usage

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

Arguments

object

An object of class ClustCpObj.

...

parameter of the generic method.

Examples

Run this code

data("stock_uni")

params_uni <- list(a = 1,
                   b = 1,
                   c = 1,
                   phi = 0.1)

out <- clust_cp(data = stock_uni[1:3,], n_iterations = 1000, n_burnin = 100,
                L = 1, q = 0.5, B = 500, params = params_uni, kernel = "ts")

summary(out)

Run the code above in your browser using DataLab