space.held {raptr} | R Documentation |
Extract attribute space held for a solution
Description
This function returns the attribute space held for each species in a solution.
Usage
space.held(x, y, species, space)
## S3 method for class 'RapSolved'
space.held(x, y = 0, species = NULL, space = NULL)
Arguments
x |
|
y |
Available inputs include: |
species |
|
space |
|
Value
matrix
object.
See Also
Examples
## Not run:
# load data
data(sim_rs)
# space held (%) for each species in best solution
space.held(sim_rs, 0)
# space held (%) for each species in second solution
space.held(sim_rs, 2)
# space held (%) for each species in each solution
space.held(sim_rs)
## End(Not run)
[Package raptr version 1.0.1 Index]