Learn R Programming

onlineBcp (version 0.1.8)

summary.BayesCP: Summarize BayesCP object

Description

Summarize BayesCP object

Usage

# S3 method for BayesCP
summary(object, norm.test = FALSE, ...)

Arguments

object

the BayesCP class object to be summarized

norm.test

logical value for normality test, default is false

...

parameters passed to summary()

Value

An object of BayesCP class with updated summary result

Examples

Run this code
# NOT RUN {
x <- c(rnorm(10, 0, 1), rnorm(10, 5, 1))
bcp <- online_cp(x)
summary(bcp)
# }

Run the code above in your browser using DataLab