| BayesSpaceBasis.ReferenceMeasureDiscrete | R Documentation |
Coded Basis for ReferenceMeasureDiscrete
## S3 method for class 'ReferenceMeasureDiscrete'
BayesSpaceBasis(
basis,
bayesSpace = BayesSpace(basis),
orthonormalize = FALSE,
...
)
basis |
the ReferenceMeasureDiscrete the basis is designed for |
bayesSpace |
the BayesSpace to be used for the BayesSpaceBasis |
orthonormalize |
boolean: if TRUE the basis is orthonormalized, using a singluar using a singular value decomposition based matrix square root. |
... |
further arguments for generic use only. |
A BayesSpaceBasis for that discrete reference measure. If a nonstandard A is used it might be nonorthogonal.
X=c("A","B","C")
rmd = ReferenceMeasureDiscrete(X)
basis = BayesSpaceBasis(rmd)
as.function(basis)(X)
weightedStats(rmd,as.function(basis),function(x) rep(1,length(x)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.