| +.BData | R Documentation |
BData objects are considered a elements of a BayesSpace and operated accordingly to Bayes space rules, using the functions [Add], [Sub], [Mul], [Div]. For operating with a scalar, please use the BData object first.
## S3 method for class 'BData'
x + y
## S3 method for class 'BData'
x - y
## S3 method for class 'BData'
x * y
## S3 method for class 'BData'
x / y
x |
a BData value to be operated |
y |
another value, like e.g. another BData value or a scalar |
A BData object of the same class as 'x', resulting from the corresponding Bayes-space operation (addition, subtraction, scalar multiplication, or scalar division).
- : Bayes space subtraction divides densities
* : Bayes space multiplication works only with scalars
/ : Bayes space division only works with scalars
and leads to do the y-th root
X <- BDataSplines(t(1:5),B2Unif01Basis5)
X+X
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.