selections {raptr} | R Documentation |
Extract solution selections
Description
Extract selections for a given solution from a RapResults()
or
RapSolved()
object.
Usage
selections(x, y)
## S3 method for class 'RapResults'
selections(x, y = 0)
## S3 method for class 'RapSolved'
selections(x, y = 0)
Arguments
x |
|
y |
|
Value
base::matrix()
or numeric
vector depending on
arguments.
See Also
Examples
## Not run:
# load data
data(sim_rs)
# selections for the best solution
selections(sim_rs, 0)
# selections for the second solution
selections(sim_rs, 2)
# selections for each solution
selections(sim_rs)
## End(Not run)
[Package raptr version 1.0.1 Index]