Learn R Programming

scales (version 1.2.1)

probability_trans: Probability transformation

Description

Probability transformation

Usage

probability_trans(distribution, ...)

logit_trans()

probit_trans()

Arguments

distribution

probability distribution. Should be standard R abbreviation so that "p" + distribution is a valid probability density function, and "q" + distribution is a valid quantile function.

...

other arguments passed on to distribution and quantile functions

Examples

Run this code
plot(logit_trans(), xlim = c(0, 1))
plot(probit_trans(), xlim = c(0, 1))

Run the code above in your browser using DataLab