Description Usage Arguments Value Examples
This function fits a surplus production model using maximum likelihood estimation in TMB.
1 | fit_sp_base(data, b_col, sp_col, p = 1)
|
data |
A prepped data frame with the following required columns: stockid, year, biomass_scaled, sp_scaled |
p |
The shape parameter |
A list containing: (1) the data; (2) the model fit; and (3) the standard error report.
1 2 3 4 5 | data <- splink::ram_ne
output <- splink::fit_sp(data=data, b_col="tb_scaled", sp_col="sp_scaled", p=0.2)
results <- splink::get_results(output)
splink::plot_results(results)
splink::plot_fits(output)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.