CONVOLUTION | R Documentation |
DISTRIBUTION
objectsThe convolution of the simple algebraic operations is made by the operation of individual drawns of
the distributions. The DISTRIBUTION
objects must have the
same dimensions.
new_CONVOLUTION(listdistr, op, omit_NA = FALSE)
new_SUM(..., omit_NA = FALSE)
## S3 method for class 'DISTRIBUTION'
e1 + e2
new_SUBTRACTION(..., omit_NA = FALSE)
## S3 method for class 'DISTRIBUTION'
e1 - e2
new_MULTIPLICATION(..., omit_NA = FALSE)
## S3 method for class 'DISTRIBUTION'
e1 * e2
new_DIVISION(..., omit_NA = FALSE)
## S3 method for class 'DISTRIBUTION'
e1 / e2
listdistr |
a list of |
op |
a function to convolute '+', '-', '*', '\' |
omit_NA |
if TRUE, |
... |
|
e1 |
object of class |
e2 |
object of class |
If any of the distributions is of class NA
(NA_DISTRIBUTION
)
the result will be a new distribution of class NA
unless the
omit_NA
option is set to TRUE
and object of class CONVOLUTION
, DISTRIBUTION
new_SUM()
: Sum of distributions
new_SUBTRACTION()
: Subtraction for distributions
new_MULTIPLICATION()
: Multiplication for distributions
new_DIVISION()
: DIVISION for distributions
John J. Aponte
x1 <- new_NORMAL(0,1)
x2 <- new_UNIFORM(1,2)
new_CONVOLUTION(list(x1,x2), `+`)
new_SUM(x1,x2)
x1 + x2
new_SUBTRACTION(x1,x2)
x1 - x2
new_MULTIPLICATION(list(x1,x2))
x1 * x2
new_DIVISION(list(x1,x2))
x1 / x2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.