plot-Probpool-ANY-method: Plot a Probpool object.

Description Usage Arguments Value Examples

Description

Method to plot and visualize a Probpool object. Depending on the arguments provided, different plotting behaviour (see Details). Additional parameters are passed to the the '...' argument

Usage

1
2
## S4 method for signature 'Probpool,ANY'
plot(x, y, ...)

Arguments

x

An object of class Probpool

...

Additional arguments for levelplot or xyplot

focal_species

The name of a particular species in x. If provided, probability pools for that ...

focal_unit

An object comapatible with the extract function from the raster package, i.e:

  • points represented by a two-column matrix or data.frame

  • a numeric vector representing cell numbers

  • a SpatialPoints*; SpatialPolygons*; SpatialLines object

  • an Extent object

Value

None

Examples

1
2
3
4
5
6
my_prob_pool = probpool(env_pool = env, disp_pool = disp)
plot(my_prob_pool)
plot(my_prob_pool, focal_species = "Olea europaea")
plot(my_prob_pool, focal_unit = 132)) # Cell number
plot(my_prob_pool, focal_unit = c(24,26))) # Cell index
plot(my_prob_pool, focal_unit = extent(c(7,8,49,53))) # Object of class raster::Extent

ChrKoenig/probpool documentation built on Dec. 21, 2017, 9:41 p.m.