| score | R Documentation | 
Extract solution score from RapResults() or
RapSolved() object.
score(x, y)
## S3 method for class 'RapResults'
score(x, y = 0)
## S3 method for class 'RapSolved'
score(x, y = 0)
x | 
 
  | 
y | 
 Available inputs include:   | 
matrix or numeric vector with solution score(s)
depending on arguments.
RapResults(), RapSolved().
## Not run: 
# load data
data(sim_rs)
# score for the best solution
score(sim_rs, 0)
# score for the second solution
score(sim_rs, 2)
# score for all solutions
score(sim_rs, NULL)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.