GME

Geospatial Modelling Environment

r.hist (Histogram)

Creates a histogram graph using R

Description

This command creates a histogram graph using R (the 'hist' function in R) and displays it in the output window. The R commands used to create the histogram are also displayed. Type '? hist' at the R command prompt for further details.

This command is driven by R. Type 'citation' to see the suggested citation for R.

Syntax

r.hist(in, field, [breaks], [freq], [where]);

inthe input feature data source
fieldthe name of field containing the data to plot
[breaks]the number of bins or cells in the histogram (default=determined automatically)
[freq](TRUE/FALSE) if TRUE the histogram represents frequencies/counts, if FALSE the histogram represents probability densities (default=TRUE)
[where]the selection statement that will be applied to the feature data source to identify a subset of features to process (see full Help documentation for further details)

Example

r.hist(in="C:\data\parcels.shp", field="Value08");

r.hist(in="C:\data\county.shp", field="Popn", breaks=30, freq=FALSE);


Messages

Please consider making a purchase to support the continued development of these tools  Read more...

Tips on how to use this interface efficiently  Read more...

Links

Open Source GIS

Copyright © 2001-2014 Hawthorne L. Beyer, Ph.D., Spatial Ecology LLC    Connect on LinkedIn