Learn R Programming

adoptr (version 0.2.2)

cumulative_distribution_function: Cumulative distribution function

Description

cumulative_distribution_function evaluates the cumulative distribution function of a specific distribution dist at a point x.

Usage

cumulative_distribution_function(dist, x, n, theta, ...)

# S4 method for Normal,numeric,numeric,numeric cumulative_distribution_function(dist, x, n, theta, ...)

Arguments

dist

a univariate distribution object

x

outcome

n

sample size

theta

distribution parameter

...

further optional arguments

Details

If the distribution is Normal, then the mean is assumed to be .

Examples

Run this code
# NOT RUN {
cumulative_distribution_function(Normal(), 1, 50, .3)

# }

Run the code above in your browser using DataLab