WHEATSPAIN | R Documentation |
Seventeen Spanish communities and their corresponding surface area (in hecatares) dedicated to growing wheat
WHEATSPAIN
A data frame with 17 observations on the following 3 variables:
community
(a factor with levels Andalucia
, Aragon
, Asturias
, Baleares
, C.Valenciana
, Canarias
, Cantabria
, Castilla-La Mancha
, Castilla-Leon
, Cataluna
, Extremadura
, Galicia
, La Rioja
, Madrid
, Murcia
, Navarre
, and P.Vasco
)
hectares
(surface area measured in hectares)
acres
(surface area measured in acres)
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
ggplot(data = WHEATSPAIN, aes(x = reorder(community, acres), y = acres)) + geom_bar(stat="identity", color = "orange", fill = "gold") + coord_flip() + labs(x = "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.