pHist: Generates histogram
Description
Generates histogram
Usage
pHist(X, p, nBins, freq = FALSE)
Value
a list with
f the frequency for each midpoint
x the midpoints of the nBins intervals
Arguments
- X
a vector containing the data points
- p
a vector containing the probabilities for each of the data points in X
- nBins
expected number of Bins the data set is to be broken down into
- freq
a boolean variable to indicate whether the graphic is a representation of frequencies