BDataSplines: create a 'BDataSplines' object: a set of distributions...

View source: R/classes.R

BDataSplinesR Documentation

create a 'BDataSplines' object: a set of distributions represented as splines; possible representation of individual distribution through a vector of coefficients.

Description

create a 'BDataSplines' object: a set of distributions represented as splines; possible representation of individual distribution through a vector of coefficients.

Usage

BDataSplines(matrixCoefs, basis)

## S3 method for class 'BDataSplines'
x[i, j, ...]

Arguments

matrixCoefs

a matrix of spline coefficients (nrow: # of distributions; ncol: # of basis functions)

basis

a spline basis

x

a BDataSplines object to be subsetted

i

index of samples to be selected/filtered out, or logical vector of length equal to 'length(x)'

j

index of variables to be selected/filtered out, or logical vector of length equal to 'ncol(x[[1]])'

...

further generic arguments

Value

object of class 'BDataSplines' describing a set of distributions represented as splines

Methods (by generic)

  • [: subsetting method, keeps structure if only i is given.

See Also

BData

Other BDataSplines: plot.BDataSplines()

Examples

coefs=matrix(1:15,nrow=3)
bssplines=BDataSplines(coefs,B2Unif01Basis5)
bssplines

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