MeansBreakPoints {WaveCGH}R Documentation

Finds the region means for given break points.

Description

This function finds the region means when break points are give. This is one of the utility functions.

Usage

MeansBreakPoints(x, bp)

Arguments

x Vector of observations
bp Break points

Value

Region means.

Author(s)

A. I. McLeod and M. S. Islam

References

Islam, M. S. (2008). Periodicity, Change Detection and Prediction in Microarrays. Ph.D. Thesis, The University of Western Ontario.

Examples

set.seed(123)
x<-c(rnorm(20), rnorm(20, 1), rnorm(20))
MeansBreakPoints(x, c(20,30,50))

[Package WaveCGH version 2.01 Index]