A plot methods for class "SpNaBaModel".
Parameters passed to other functions (See
This function creates a list with five ggplot objects.
The first element of the list is called 'Smp_density'. It shows an histogram of the density of cell's occurrence per specie. In this sense, the x axis of this graph represents the number of cells with an occurrence and the y axis shows the density of variables (species) in that range of cell's occurrence.
Enrique Del Callejo Canal ([email protected]).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
library(sp) library(rgeos) data(Mex0) data(mammals) # Generating de grid from Mex0 data Mex0.grd<-grd_build(Mex0) # Identification points of mammals with colnames = NULL. x.mat<-id_pts(grd = Mex0.grd, pts = mammals) # Creando el modelo x.model <- NBModel(x.mat, target = 1:10, fac.lap = 0.01) # Graphic report x.plots <- plotNB(x.model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.