powered by
Extract selections for a given solution from a RapResults or RapSolved object.
RapResults
RapSolved
selections(x, y)# S3 method for RapResults selections(x, y = 0)# S3 method for RapSolved selections(x, y = 0)
# S3 method for RapResults selections(x, y = 0)
# S3 method for RapSolved selections(x, y = 0)
RapResults or RapSolved object.
NULL to return all values, integer 0 to return values for best solution, integer value greater than 0 for y'th solution value.
NULL
integer
y
not used.
matrix or numeric vector depending on arguments.
matrix
numeric
RapResults, RapSolved.
# NOT RUN { data(sim_rs) # selections for best solution selections(sim_rs, 0) # selections for second solution selections(sim_rs, 2) # selections for each solution selections(sim_rs) # }
Run the code above in your browser using DataLab