Learn R Programming

HistDAWass (version 1.0.8)

show: Method show for distributionH

Description

An overriding show function for a distributionH object. The function returns a representation of the histogram, if the number of bins is high the central part of the histogram is truncated.

Usage

# S4 method for distributionH
show(object)

Arguments

object

a distributionH object

Examples

Run this code
## ---- initialize a distributionH
mydist <- distributionH(x = c(7, 8, 10, 15), p = c(0, 0.2, 0.7, 1))
# show the histogram
mydist

Run the code above in your browser using DataLab