Description Usage Arguments Value
View source: R/knapsack_objects.R
Knapsack data A funtion that simulates data to the Knapsack problem.
1 | knapsack_data(n = 2000, seed = 42)
|
n |
size of the data frame. |
seed |
set seed of the simulated data. |
A dataframe with 2 variables and n rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.