untrafo: Untransformation of a Distribution Object

Description Usage Arguments Value Examples

View source: R/trafo.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

1
2
3
4
5
B  <- binomdist(10, 0.3)
B2 <- -3*log(B)
B2

untrafo(B2)

mistr documentation built on Dec. 10, 2018, 5:05 p.m.