Learn R Programming

poweRlaw (version 0.20.3)

dist_data_cdf: The data cumulative distribution function

Description

This is generic function for distribution objects. This function calculates the data cdf.

Usage

dist_data_cdf(m, lower_tail = TRUE, all_values = FALSE)

## S3 method for class 'discrete_distribution': dist_data_cdf(m, lower_tail = TRUE, all_values = FALSE)

## S3 method for class 'ctn_distribution': dist_data_cdf(m, lower_tail = TRUE)

Arguments

docType

methods

Examples

Run this code
##########################################
#Load data and create distribution object#
##########################################
data(moby_sample)
m = displ$new(moby_sample)
m$setXmin(7);m$setPars(2)

##########################################
# The data cdf                           #
##########################################
dist_data_cdf(m)

Run the code above in your browser using DataLab