| [.BDataHistograms | R Documentation |
A subsetting function selecting only a part of the histograms
## S3 method for class 'BDataHistograms'
x[i, j, ...]
x |
a BDataHistograms object |
i |
index of rows to be extracted |
j |
index of the columns, typically missing for the subsetting |
... |
further generic parameters such das drop=FALSE |
A BDataHistograms object with the subset of histograms described by the basis
set.seed(47)
breaks = seq(-3,3,by=1)
inRange = function(x) -3<x & x<3
X = t(replicate(4,hist(Filter(inRange,rnorm(1000)),breaks=breaks,plot=FALSE)$counts))
hists = BDataFrequencyHistograms(X,breaks=breaks,basis=B2N01Basis5)
hists[1:2, ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.