getBayesSpaceBasis: Generic function returning the BayesSpaceBasis associated to...

View source: R/classes.R

getBayesSpaceBasisR Documentation

Generic function returning the BayesSpaceBasis associated to the given object.

Description

Generic function returning the BayesSpaceBasis associated to the given object.

Usage

getBayesSpaceBasis(X, ...)

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

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

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

## S3 method for class 'varKernel'
getBayesSpaceBasis(X, ...)

## S3 method for class 'variationKernel'
getBayesSpaceBasis(X, ...)

Arguments

X

the object

...

further named arguments used by methods e.g. Default

Value

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

Methods (by class)

  • getBayesSpaceBasis(BayesSpaceBasis): returns itself

  • getBayesSpaceBasis(BData): method for Datasets

  • getBayesSpaceBasis(BayesSpace): constructs a default vasis from the reference measure. Use ... as further parameters to generic constructor.

  • getBayesSpaceBasis(varKernel): method for varKernel

  • getBayesSpaceBasis(variationKernel): method for variationKernel

See Also

[BayesSpaceBasis], [getBayesSpace], [BayesSpace]

Examples

getBayesSpaceBasis(B2Unif01)
set.seed(47)
X = BDataGeneral(list(function(x) x, function(x) x^2),basis=B2Unif01Basis5)
getBayesSpaceBasis(X)
getBayesSpace(X)
getReferenceMeasure(X)
getBayesSpaceBasis(B2Unif01Basis5)



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