Description Usage Arguments Value Examples
Easily pick out the data that you want to use for surveyindices
1 | get_si_data(data_samples, by = "lengths", groups)
|
data_samples |
Data.frame of sampled model output as returned by
|
by |
Character. Currently either only "lengths" or "ages" |
groups |
Numeric. The values by which to subset |
A data.frame of filtered or subsetted data
1 2 3 4 | dat <- expand.grid(year = 1:10, step = 1, area = 1,
ages = 1:10, lengths = 1:100)
dat$number <- sample(1:1000, nrow(dat), replace = TRUE)
si_dat <- get_si_data(dat, by = "lengths", groups = 1:20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.