Histograms
Data exploration after a basic understanding can also be done with the aid of visualizations. Plotting a histogram is one of the most common ways of data exploration through visualization. A histogram type is used to tabulate data over a real plane separated into regular intervals.
A histogram is created using the fit method:
julia> fit(Histogram, data[, weight][, edges])
fit
takes the following arguments:
data
: Data is passed to thefit
function in the form of a vector, which can either be one-dimensional or n-dimensional (tuple of vectors of equal length).weight
: This is the optional argument. AWeightVec
type can be passed as an argument if values have different weights. The default weight of values is 1.edges
: This is a vector used ...
Get Julia for Data Science now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.