| cen | R Documentation |
This centers an representation in a way that a direct converstion to a log Density has integral 0.
cen(X, ..., center = TRUE)
## S3 method for class ''function''
cen(X, measure = getReferenceMeasure(X), ..., center)
## S3 method for class 'BDataDensities'
cen(X, ..., center)
## S3 method for class 'BDataPDFs'
cen(X, ..., center)
## S3 method for class 'BDataLogDensities'
cen(X, ..., center)
## S3 method for class 'BDataLogPDFs'
cen(X, ..., center)
## S3 method for class 'BayesSpaceBasis'
cen(X, ..., center)
X |
the object to be centered |
... |
further arguments for generic use |
center |
a boolean, if FALSE the object is returned directly, if true uncentered objects will be centered. |
measure |
the reference measure for which the closing constant shall be computed. This is especially required for functions |
Centring subtracts the integral mean (with respect to the reference measure) so that the result integrates to zero; equivalently it makes the clr representative of the distribution centred.
and object of the same type as the incoming, but closed.
cen(`function`): method for functions
cen(BDataDensities): method for BDataDensities
cen(BDataPDFs): method for BDataPDFs
cen(BDataLogDensities): method for BDataLogDensities
cen(BDataLogPDFs): method for BDataLogPDFs
cen(BayesSpaceBasis): method for BayesSpaceBasis returns the centered logDensities
[clo]
cen(function(x) x^2,measure=ReferenceMeasureUniform(0,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.