simplifyD-methods

0th

Percentile

Methods for function simplifyD in Package `distr'

simplifyD-methods

Keywords
methods, distribution
Usage
simplifyD(object)
Arguments
object
distribution object
Details

generating functions UnivarMixingDistribution Minimum, Maximum, Truncate, and Huberize have an argument withSimplify which decides whether the respective result is filtered by/piped through a call to simplifyD. By default this argument is set to the distr-option getdistrOption("simplifyD" (for the inspection and modification of such global options see distroptions). Depending on whether or not this option is TRUE, also arithmetic operations "+", "*", "/", "^" and group Math give results filtered by/piped through a call to simplifyD.

Value

  • the corresponding, possibly simplified distribution

concept

truncation

See Also

Huberize, Minimum

Aliases
  • simplifyD-methods
  • simplifyD
  • simplifyD,AbscontDistribution-method
  • simplifyD,DiscreteDistribution-method
  • simplifyD,UnivarLebDecDistribution-method
  • simplifyD,UnivarMixingDistribution-method
Examples
Mix1 <- UnivarMixingDistribution(Norm(),Binom(2,.3),
  UnivarLebDecDistribution(acPart = Chisq(df = 2), discretePart = Nbinom(3,.09),
                           acWeight = 0.3),
  Norm()-Chisq(df=3), mixCoeff=c(0,0,0.2,0.8), withSimplify = FALSE)
Mix2 <- UnivarMixingDistribution(Norm(),Mix1, DExp(2),
        mixCoeff = c(0,0.2,0.8), withSimplify = FALSE)
Mix2        
simplifyD(Mix2)
Documentation reproduced from package distr, version 2.0.2, License: LGPL-3

Community examples

Looks like there are no examples yet.