Blocks {binhf} | R Documentation |
An example Bernoulli proportion function.
Blocks(x)
x |
a sequence of ‘time points’ as input into the function. |
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.
y |
a vector of function values for the proportion function, corresponding to x. |
Matt Nunes (m.nunes@ucl.ac.uk)
Antoniadis, A. and LeBlanc, F. (2000) Nonparametric wavelet regression for binary response. Statistics, 34, 183–213.
t<-seq(0,1,length=256)
y<-Blocks(t)
plot(t,y, type="l")