Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

histoProj

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

DrBats

Data Representation: Bayesian Approach That's Sparse

v0.1.5
GPL-3
Authors
Anne Bisson [cre], Gabrielle Weinrott [aut], Brigitte Charnomordic [aut], Benedicte Fontez [aut], Nadine Hilgert [aut], Susan Holmes [aut]
Initial release
2019-11-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.