Learn R Programming

mistr (version 0.0.6)

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 trans_standist untrafo(O)

# S3 method for trans_mixdist untrafo(O)

# S3 method for trans_compdist untrafo(O)

Value

Untransformed distribution object.

Arguments

O

transformed distribution object.

Examples

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

untrafo(B2)

Run the code above in your browser using DataLab