Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

untrafo

Untransformation of a Distribution Object


Description

untrafo is a generic function that returns the untransformed random variable, if a transformed object is given.

Usage

untrafo(O)

## S3 method for class 'trans_standist'
untrafo(O)

## S3 method for class 'trans_mixdist'
untrafo(O)

## S3 method for class 'trans_compdist'
untrafo(O)

Arguments

O

transformed distribution object.

Value

Untransformed distribution object.

Examples

B  <- binomdist(10, 0.3)
B2 <- -3*log(B)
B2

untrafo(B2)

mistr

Mixture and Composite Distributions

v0.0.4
GPL-3
Authors
Lukas Sablica [aut, cre] (<https://orcid.org/0000-0001-9166-4563>), Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.