getBayesSpace: Generic function returning the Bayes space associated to the...

View source: R/classes.R

getBayesSpaceR Documentation

Generic function returning the Bayes space associated to the given object.

Description

Generic function returning the Bayes space associated to the given object.

Usage

getBayesSpace(X, ...)

## S3 method for class 'BayesSpace'
getBayesSpace(X, ...)

## S3 method for class 'BayesSpaceBasis'
getBayesSpace(X, ...)

## S3 method for class ''NULL''
getBayesSpace(X, ..., Default)

## S3 method for class 'BData'
getBayesSpace(X, ...)

## S3 method for class 'ReferenceMeasure'
getBayesSpace(X, ...)

## Default S3 method:
getBayesSpace(X, ..., Default = attr(X, "BayesSpace"))

## S3 method for class 'L2Space'
getBayesSpace(X, ...)

## S3 method for class 'L2Space'
getL2Space(X, ...)

Arguments

X

the object

...

further named arguments used by methods e.g. Default

Default

the Bayes Space returned if no Bayes Space is associated

Value

The associated [BayesSpace] object (class '"BayesSpace"').

Methods (by class)

  • getBayesSpace(BayesSpace): method for BayesSpace returning itself

  • getBayesSpace(BayesSpaceBasis): method for BayesSpaceBasis

  • getBayesSpace(`NULL`): method for NULL, returns default

  • getBayesSpace(BData): method for BData

  • getBayesSpace(ReferenceMeasure): creates the BayesSpace for the reference measure

  • getBayesSpace(default): default method tries to get an attribute

  • getBayesSpace(L2Space): returns BayesSpace with same reference measure

Functions

  • getL2Space(L2Space): method for BayesSpace returning itself

See Also

Other getBayesSpace: getL2Space()

Examples

B2Unif01Basis5
unclass(B2Unif01Basis5)
getBayesSpace(B2Unif01Basis5)



DistributionalDDA documentation built on Oct. 20, 2026, 5:06 p.m.