legacyplot: Summary plots of bcp() output

View source: R/legacyplot.R

legacyplotR Documentation

Summary plots of bcp() output

Description

This function produces summary plots of bcp() output. It is adapted from the default legacyplot function in pacakge bcp.

Usage

legacyplot(x, annotation = NULL, medianfilter = FALSE)

Arguments

x

A list. The result of a call to bcp().

annotation

Annotate points up to total components calculated. No annotation when annotation = 0.

medianfilter

A logical value. Compute running medians to smooth scatter plot.

Examples

library(bcp)
legacyplot(bcp(as.vector(c(rep(10, 10), 9.5, rep(0, 10))),
p0 = 0.1))

WenlanzZ/MKDim documentation built on July 30, 2022, 7:25 a.m.