Blocks {binhf} | R Documentation |
Proportion Functions
Description
An example Bernoulli proportion function.
Usage
Blocks(x)
Arguments
x |
a sequence of ‘time points’ as input into the function. |
Details
A proportion function based on the blocks function of Donoho, or that of Antoniadis and LeBlanc (2000). The extra “r" versions of these functions are reflected at the right endpoint.
Value
y |
a vector of function values for the proportion function, corresponding to x. |
Author(s)
Matt Nunes (m.nunes@ucl.ac.uk)
References
Antoniadis, A. and LeBlanc, F. (2000) Nonparametric wavelet regression for binary response. Statistics, 34, 183–213.
Examples
t<-seq(0,1,length=256)
y<-Blocks(t)
plot(t,y, type="l")
[Package binhf version 1.0-3 Index]