SURFACESPAIN {PASWR2}R Documentation

Surface Area for Spanish Communities

Description

Surface area (\texttt{km}^2) for seventeen autonomous Spanish communities.

Usage

SURFACESPAIN

Format

A data frame with 17 observations on the following 2 variables:

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.

Examples

# Base Graphs
with(data = SURFACESPAIN, barplot(surface, names.arg = community, las = 2))
# ggplot2
ggplot(data = SURFACESPAIN, aes(x = reorder(community, surface), y = surface)) + 
geom_bar(stat = "identity", fill = "yellow", color = "gold") + coord_flip() + 
labs(x = "", y = "squared kilometers")
# Trellis Approach
barchart(community ~ surface, data = SURFACESPAIN)

[Package PASWR2 version 1.0.5 Index]