Displaying 1 result from an estimated 1 matches for "depvt".
Did you mean:
dept
2003 Oct 28
1
stacking histograms
...er value for the bin and the last column is the frequency for
that bin
When I call the hist() function I get
> depv <- scan('depv.txt') # a vector of observed values
>
> # the bin boundaries described above
> breakvals <- read.table('bindata.txt')
>
> hist(depvt, breaks=breakvals$V1)
>
Error in hist.default(depvt, breaks = br$V1) :
some `x' not counted; maybe `breaks' do not span range of `x'
I get the same error when I specify breakvals$V2.
Some of my observed values lie beyond the lower boundary of the last bin
(last item of col...