sudo_support {mistr} | R Documentation |
Support Interval of Distribution Object
Description
sudo_support
is a generic function that returns the two boundary values
of object's support.
Usage
sudo_support(O)
## S3 method for class 'discrdist'
sudo_support(O)
## S3 method for class 'contdist'
sudo_support(O)
## S3 method for class 'mixdist'
sudo_support(O)
## S3 method for class 'compdist'
sudo_support(O)
## S3 method for class 'trans_univdist'
sudo_support(O)
Arguments
O |
distribution object. |
Details
Methods of sudo_support
function calculate the support's boundary
values for any distribution in the package mistr
. This technique
is particularly useful when dealing with a transformed distribution.
Value
Named vector containing two values.
Examples
B <- binomdist(10, 0.3)
sudo_support(B)
B2 <- -3*log(B)
sudo_support(B2)
sudo_support( mixdist(B2, normdist(), weights = c(0.5, 0.5)))
[Package mistr version 0.0.6 Index]