Method for obtaining the CDF of a mvn object.
# S3 method for class 'mvn'
cdf(x, ...)
Arguments
- x
The object to obtain the CDF of
- ...
Additional arguments to pass (not used)
Value
A function computing the multivariate normal CDF.
Examples
X <- mvn(c(0, 0), diag(2))
F <- cdf(X)
F(c(0, 0))
#> Warning: error (1e-15): Normal Completion
#> [1] 0.25