GenMu: Generate a piecewise constant sequence starting from 0

Description Usage Arguments Value See Also Examples

View source: R/main.R

Description

Generate a piecewise constant sequence starting from 0

Usage

1
GenMu(x, pos, size)

Arguments

x

a vector containing all values of change points

pos

positions of change points, corresponding to x

size

sample size

Value

a piecewise constant sequence

See Also

GenDY

Examples

1
GenMu(x=1:10,pos=seq(10,100,10),size=150)

mSTEM documentation built on Oct. 2, 2019, 5:03 p.m.