space.plot {raptr} | R Documentation |
Plot space
Description
This function plots the distribution of planning units and the distribution of demand points for a particular species in an attribute space. Note that this function only works for attribute spaces with one, two, or three dimensions.
Usage
space.plot(x, species, space, ...)
## S3 method for class 'RapData'
space.plot(
x,
species,
space = 1,
pu.color.palette = c("#4D4D4D4D", "#00FF0080", "#FFFF0080", "#FF00004D"),
main = NULL,
...
)
## S3 method for class 'RapUnsolved'
space.plot(
x,
species,
space = 1,
pu.color.palette = c("#4D4D4D4D", "#00FF0080", "#FFFF0080", "#FF00004D"),
main = NULL,
...
)
## S3 method for class 'RapSolved'
space.plot(
x,
species,
space = 1,
y = 0,
pu.color.palette = c("#4D4D4D4D", "#00FF0080", "#FFFF0080", "#FF00004D"),
main = NULL,
...
)
Arguments
x |
|
species |
|
space |
|
... |
not used. |
pu.color.palette |
|
main |
|
y |
|
Examples
## Not run:
# load RapSolved objects
data(sim_ru, sim_rs)
# plot first species in first attribute space
space.plot(sim_ru, 1, 1)
# plot distribution of solutions for first species in first attribute space
space.plot(sim_rs, 1, 1)
## End(Not run)
[Package raptr version 1.0.1 Index]