Two functions for manipulation with histograms. In function
hist values of
ursaRaster objects are passed to generic function
hist, which allows compute and optionally plot histograms. Other function,
histogram, plots histogram in the graphical device
## S3 method for class 'ursaRaster' hist(x, ...) ursa_hist(obj, width = 800, height = 600, ...) histogram(...)
Object of class
Positive integer. Width of histogram's panel.
Positive integer. Height of histogram's panel.
Other arguments, which are passed to
histogram is synonym of
ursaRaster object is defined as
In the function
histogram each bin corresponds to category. The image splitting to categories is realized via
colorize function. The panel of plotting is constucted using artificial coordinate system without geographical projection. The purpose of
compose_open function is prepare layout for plotting raster images; in the case of histogram, the purpose of this function is prepare layout for plotting histogram
Nikita Platonov firstname.lastname@example.org
colorize is used to define histogram bins.
compose_open prepares panel for histogram plotting.
hist computes and plots histograms.
session_grid(NULL) a <- pixelsize() hist(a) histogram(a,breaks=21)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.