histoProj {DrBats}R Documentation

Project a set of curves onto a histogram basis

Description

Project a set of curves onto a histogram basis

Usage

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

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


[Package DrBats version 0.1.6 Index]