selections | R Documentation |
Extract selections for a given solution from a RapResults()
or
RapSolved()
object.
selections(x, y)
## S3 method for class 'RapResults'
selections(x, y = 0)
## S3 method for class 'RapSolved'
selections(x, y = 0)
x |
|
y |
|
base::matrix()
or numeric
vector depending on
arguments.
RapResults()
, RapSolved()
.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.