load_longer | R Documentation |
Load CSV files in the 'longer' data format. These files will have a column for gear, posterior number, and year and many rows. MCMC burnin and thinning is applied to each unique group
load_longer(
fn,
type = c("age", "sel"),
gear_names = NULL,
burnin = 1000,
thin = 1,
end_yr = year(Sys.Date()) - 1
)
fn |
The CSV filename |
type |
Type of file: 'age' or 'sel'. Used to set the correct start year column name only |
gear_names |
A vector of gear names to use in the resulting data frame.
If |
burnin |
The number of MCMC records to remove for burnin period |
thin |
Remove every nth record for thinning of MCMC output |
end_yr |
The year to set as the end year for the final year block in
selectivity. If there is only one block, this will be the end year for it.
This is only used if |
Made to load the age fit, age residuals, or selectivity estimates files.
The list of output data frames representing the age fits, age residuals, or selectivity parameter estimates by gear and year
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.