score {raptr} | R Documentation |
Solution score
Description
Extract solution score from RapResults()
or
RapSolved()
object.
Usage
score(x, y)
## S3 method for class 'RapResults'
score(x, y = 0)
## S3 method for class 'RapSolved'
score(x, y = 0)
Arguments
x |
|
y |
Available inputs include: |
Value
matrix
or numeric
vector with solution score(s)
depending on arguments.
See Also
Examples
## 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)
[Package raptr version 1.0.1 Index]