hist.kasc performs histograms of the variables mapped in objects
of class kasc.
Usage
hist.kasc(x, type = c("h", "l"), adjust = 1, col = "blue", ...)
Arguments
x
a raster map of class kasc
type
what type of plot should be drawn. Possible types are:
* "h" for histograms,
* "l" for kernel density estimates (see ?density).
By default, type = "h" is used. If type = "l" is used,
adjust
if type = "l", a parameter used to control the
bandwidth of the density estimate (see ?density)
## Example with factors and numeric variablesdata(puechabon)
hist(puechabon$kasc)
## Removing the factor Aspect, and smoothing gives :hist(puechabon$kasc[,-2], type = "l")