get.histo-methods: Method 'get.histo': show the distribution with bins

Description Usage Arguments Value Examples

Description

Method get.histo: show the distribution with bins

This functon return a data.frame describing the histogram of a distributionH object.

Usage

1
2
3
4
get.histo(object)

## S4 method for signature 'distributionH'
get.histo(object)

Arguments

object

a distributionH object.

Value

A matrix: the two columns contains the bounds of the histogram the third contains the probablity (or the relative frequency) of the bin.

Examples

1
2
D=distributionH(x=c(1,2,3,4),p=c(0,0.2,0.6, 1))
get.histo(D) #returns the histogram representation of D by a data.frame

HistDAWass documentation built on May 29, 2017, 2:46 p.m.

Search within the HistDAWass package
Search all R packages, documentation and source code