# legacyplot

From bcp v4.0.3
by Xiaofei Wang

##### Plotting univariate Bayesian change point results

`legacyplot()`

produces summary plots of the results of `bcp()`

when used for univariate analysis; it was the default method prior to package version 3.0.0.

- Keywords
- datasets

##### Usage

`legacyplot(x, ...)`

##### Arguments

- x
the result of a call to

`bcp()`

.- ...
(optional) additional arguments, ignored.

##### Details

`legacyplot()`

produces the following plots using `base`

graphics:

Posterior Means: location in the sequence versus the posterior mean over the iterations.

Posterior Probability of a Change: location in the sequence versus the relative frequency of iterations which resulted in a change point.

##### See Also

`plot.bcp`

, `bcp`

, `summary.bcp`

, and `print.bcp`

for complete results and summary statistics.

##### Examples

```
# NOT RUN {
##### A random sample from a few normal distributions #####
testdata <- c(rnorm(50), rnorm(50, 5, 1), rnorm(50))
bcp.0 <- bcp(testdata, return.mcmc=TRUE)
legacyplot(bcp.0)
# }
```

*Documentation reproduced from package bcp, version 4.0.3, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.