| fortify.RNE | R Documentation |
Plots of r2 against fraction of sites deleted randomly, by neighbourhood or by environmental similarity.
## S3 method for class 'RNE' fortify(object, which = 1, unit = "") ## S3 method for class 'RNE' autoplot(object, which = 1, ylim, unit = "km")
object |
RNE object from palaeosig |
which |
which reconstruction |
unit |
character. Neighbourhood units |
ylim |
numeric vector length 2. y limits |
require(fields)
require(palaeoSig)
require(rioja)
require(ggplot2)
data(arctic.env)
data(arctic.pollen)
#using just the first 100 sites so code runs in an reasonable time, but still slow
arctic.d <- rdist.earth(arctic.env[1:100,c("Longitude","Latitude")], miles = FALSE)
arctic.rne <- rne(y = arctic.pollen[1:100,], env = arctic.env$tjul[1:100],
geodist = arctic.d, fun = MAT, neighbours = c(0,50,200),
subsets = c(1,.5,.1), k = 5)
autoplot(arctic.rne)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.