Learn R Programming

HistDAWass (version 1.0.4)

get.distr: Method get.distr: show the distribution

Description

This functon return the cumulative distribution function of a distributionH object.

Usage

get.distr(object)

# S4 method for distributionH get.distr(object)

Arguments

object

a distributionH object.

Value

A data frame: the first column contains the domain the second the CDF values.

Examples

Run this code
# NOT RUN {
D=distributionH(x=c(1,2,3,4),p=c(0,0.2,0.6, 1))
get.distr(D) #a data.frame describing the CDF of D
# }

Run the code above in your browser using DataLab