Learn R Programming

Biolinv (version 0.1-3)

plotlacro: Plots the file type used as input and output of simulacro().

Description

This function makes a plot of the data frame used for argument INIDIST of function simulacro() and of the output of simulacro(). The plot shows the points as circles and crosses to represent their natural and anthropic origin respectively and has an iformative legend.

Usage

plotlacro(x, tr = 0.5, outline, main = "std")

Arguments

x

simulacro-type file (as outputted by simulacro() or inputted as argument INIDIST).

tr

threshold for Pnat above which points are considered of human nature.

outline

geographical boundaries to x. Object of class sp::SpatialPolygons or data frame or matrix with the outline's corners.

main

main title of the plot, by default is 'Map of ...' where ...= x$species (the name of the modelled species).

Value

plot.

Examples

Run this code
# NOT RUN {
data(frogsEM)
plotlacro(x= frogsEM, outline= nzp)
# }

Run the code above in your browser using DataLab