It is necessary to build a special type of histogram. I know that there is a hist function for this, but I don’t know exactly how to apply it in this case.
The data is presented in the following form in the file:
3 0 0.25 0.35 0.45 5 0.45 0.65 4 0.65 0.68 0.69 0.70 ... The first column shows how often the value falls into a set of intervals. The set of intervals is represented by columns 2-... (i.e. there can be an arbitrary number). So, the first line means "in the set of intervals {[0; 0.25], [0.35; 0.45)} 3 values fall. All data is presented correctly, i.e. the first point of the first interval in a set of intervals is the last point in the last interval of the previous set of intervals, intervals go sequentially, etc. However, in a set of intervals, intervals, although correctly located relative to each other, are discontinuous (i.e., the first point of the interval ! = last point of the previous one).
Inclusions for sets of intervals: [_), [_), ..., [_), [_] . Inclusions for intervals within a set of intervals [_], [_], ..., [_], [_) , if the set of intervals is not the last. And if the last set of intervals, then the inclusion of intervals in it [_], ..., [_] .
How to display it on a histogram so that x sets up intervals, and y sets frequencies?
{[0; 0.25], [0.35; 0.45)}{[0; 0.25], [0.35; 0.45)}{[0; 0.25], [0.35; 0.45)}and continue on toxstarting at0.45- christ