Last chance! 50% off unlimited learning
Sale ends in
pnorm
for the normal distribution.
The dist_cdf
function calculates the
cumulative probability distribution for the
current parameters and xmin value.dist_cdf(m, q = NULL, lower_tail = FALSE, all_values = FALSE)## S3 method for class 'conexp':
dist_cdf(m, q = NULL, lower_tail = TRUE,
all_values = FALSE)
## S3 method for class 'conlnorm':
dist_cdf(m, q = NULL, lower_tail = TRUE,
all_values = FALSE)
## S3 method for class 'conpl':
dist_cdf(m, q = NULL, lower_tail = TRUE,
all_values = FALSE)
## S3 method for class 'disexp':
dist_cdf(m, q = NULL, lower_tail = TRUE,
all_values = FALSE)
## S3 method for class 'dislnorm':
dist_cdf(m, q = NULL, lower_tail = TRUE,
all_values = FALSE)
## S3 method for class 'displ':
dist_cdf(m, q = NULL, lower_tail = TRUE,
all_values = FALSE)
## S3 method for class 'dispois':
dist_cdf(m, q = NULL, lower_tail = TRUE,
all_values = FALSE)
##########################################
#Load data and create distribution object#
##########################################
data(moby_sample)
m = displ$new(moby_sample)
m$setXmin(7); m$setPars(2)
##########################################
#Calculate the CDF at a particular values#
##########################################
dist_cdf(m, 10:15)
##########################################
#Calculate the CDF at the data values #
##########################################
dist_cdf(m)
Run the code above in your browser using DataLab