histoProj: Project a set of curves onto a histogram basis

Description Usage Arguments Value Author(s) Examples

Description

Project a set of curves onto a histogram basis

Usage

1
histoProj(X, t, t.range, breaks)

Arguments

X

a matrix

t

a matrix of observation times

t.range

a range of times in which to place the P projections (default = c(0, 1000))

breaks

the number of intervals in the histogram basis

Value

X.proj the matrix X after projection

X.count a matrix containing the number of observations used to build the projection onto the histogram basis

windows a vector containing the first time of each window of the histogram intervals

X.max the matrix of minimum values in each window

X.min the matrix of maximum values in each window

Author(s)

Gabrielle Weinrott

Examples

1
2
3
res <- drbats.simul(N = 5, P = 100, t.range = c(5, 100), breaks = 8)
res.proj <- histoProj(res$X, res$t.simul, t.range = c(5, 100), breaks = 8)
res.proj

DrBats documentation built on May 2, 2019, 4:53 a.m.