Myrtaceae | R Documentation |
Data derived from NSW National Parks and Wildlife Service resources on species richness for members of the Myrtaceae family (eucalypts and relates species) in 1000 monitoring transects west of Sydney in the Greater Blue Mountains World Heritage Area. Also included is soil type classified into 9 categories, and a few climate variables derived from Worldclim.
data(Myrtaceae)
A dataframe containing (amongst other things):
Easting of the site (in km).
Nothing of the site (in km).
Total number of Mrtaceae species observed at this site.
Annual average of daily maximum temperature (degrees Celsius).
Annual average of daily minimum temperature (degrees Celsius).
Annual precipitation (in millimetres).
Soil type, classified into nine categories.
Aspect of the site (in degrees, 0=360=due North).
data(Myrtaceae)
library(ggplot2)
ggplot(Myrtaceae, aes(x=X, y=Y))+geom_point(aes(color=richness))+
theme_classic()+xlab("West<-->East (km)")+ylab("South<-->North (km)")+
scale_color_gradient(low="lightgreen",high="black")+
labs(color="Species richness [log(y+1)-scale]")+theme(legend.position="top")+
guides(color = guide_colorbar(title.position = "top",ticks=FALSE,
barwidth=15,barheight=0.5))+coord_fixed()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.