Last data update: 2014.03.03

R: Summary for the geographical box plot
summary_geogR Documentation

Summary for the geographical box plot

Description

Summaries for geographic box plot

Usage

summary_geog(area,data,fence)

Arguments

area

the associated areas for each data value

data

values to be box-plotted

fence

fence for box plot (by default =1)

Value

a list of Summary, outliers, and spatial_weighted_mean of the data

References

Willmott, C. J., S. M. Robeson, and K. Matsuura, 2007. Geographic box plots. Physical Geography, 28, 331-344, DOI: 10.2747/0272-3646.28.4.331.

See Also

boxplot_geog

Examples

data(pdens2000);area<-pdens2000$Area;data<-pdens2000$Popdents;fence=1
summary_geog(area,data,fence)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(GeoBoxplot)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/GeoBoxplot/summary_geog.Rd_%03d_medium.png", width=480, height=480)
> ### Name: summary_geog
> ### Title: Summary for the geographical box plot
> ### Aliases: summary_geog
> 
> ### ** Examples
> 
> data(pdens2000);area<-pdens2000$Area;data<-pdens2000$Popdents;fence=1
> summary_geog(area,data,fence)
$Summary
     Min. 1st Quan.      Med. 3rd Quan.      Max. 
    1.963     8.595    23.415    51.447   114.430 

$Outliers
[1] 271.403 129.950 209.231 312.671 437.996 155.185 387.405

$Spatial_weighted_mean
[1] 36.38582

> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>