| getL2Space | R Documentation |
Generic function returning the L2Space associated to the given object.
getL2Space(X, ...)
## S3 method for class 'BayesSpaceBasis'
getL2Space(X, ...)
## S3 method for class ''NULL''
getL2Space(X, ..., Default)
## S3 method for class 'BData'
getL2Space(X, ...)
## S3 method for class 'ReferenceMeasure'
getL2Space(X, ...)
## Default S3 method:
getL2Space(X, ..., Default = getL2Space(attr(X, "BayesSpace")))
## S3 method for class 'BayesSpace'
getL2Space(X, ...)
X |
the object |
... |
further named arguments used by methods e.g. Default |
Default |
the Bayes Space returned if no L2 Space is associated |
The associated [L2Space] object (class '"L2Space"').
getL2Space(BayesSpaceBasis): method for BayesSpaceBasis
getL2Space(`NULL`): method for NULL, returns default
getL2Space(BData): method for BData
getL2Space(ReferenceMeasure): creates the BayesSpace for the reference measure
getL2Space(default): default method tries to get an attribute
getL2Space(BayesSpace): returns L2Space with same reference measure
Other getBayesSpace:
getBayesSpace()
getL2Space(B2Unif01Basis5)
set.seed(47)
X = BDataGeneral(list(function(x) x, function(x) x^2),basis=B2Unif01Basis5)
getL2Space(X)
getL2Space(StdReferenceMeasureUnif01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.