diff --git a/R/data.R b/R/data.R deleted file mode 100644 index 49fcd6c..0000000 --- a/R/data.R +++ /dev/null @@ -1,418 +0,0 @@ -#' A simulated Simple Stock Synthesis model for a "cod-like" stock. -#' -#' Stock Synthesis output read by \code{\link[r4ss]{SS_output}()} -#' -#' @docType data -#' -#' @format Large list of 184 objects generated using \pkg{r4ss} -#' \describe{ -#' \item{Data_File}{Data_File} -#' \item{Control_File}{Control_File} -#' \item{definitions}{definitions} -#' \item{fleet_ID}{fleet_ID} -#' \item{fleet_type}{fleet_type} -#' \item{fleet_timing}{fleet_timing} -#' \item{fleet_area}{fleet_area} -#' \item{catch_units}{catch_units} -#' \item{catch_se}{catch_se} -#' \item{equ_catch_se}{equ_catch_se} -#' \item{survey_units}{survey_units} -#' \item{survey_error}{survey_error} -#' \item{IsFishFleet}{IsFishFleet} -#' \item{nfishfleets}{nfishfleets} -#' \item{nfleets}{nfleets} -#' \item{nsexes}{nsexes} -#' \item{ngpatterns}{ngpatterns} -#' \item{lbins}{lbins} -#' \item{Lbin_method}{Lbin_method} -#' \item{nlbins}{nlbins} -#' \item{lbinspop}{lbinspop} -#' \item{nlbinspop}{nlbinspop} -#' \item{sizebinlist}{sizebinlist} -#' \item{agebins}{agebins} -#' \item{nagebins}{nagebins} -#' \item{accuage}{accuage} -#' \item{nareas}{nareas} -#' \item{startyr}{startyr} -#' \item{endyr}{endyr} -#' \item{nseasons}{nseasons} -#' \item{seasfracs}{seasfracs} -#' \item{seasdurations}{seasdurations} -#' \item{N_sub_seasons}{N_sub_seasons} -#' \item{Spawn_month}{Spawn_month} -#' \item{Spawn_seas}{Spawn_seas} -#' \item{Spawn_timing_in_season}{Spawn_timing_in_season} -#' \item{Retro_year}{Retro_year} -#' \item{N_forecast_yrs}{N_forecast_yrs} -#' \item{Empirical_wt_at_age}{Empirical_wt_at_age} -#' \item{N_bio_patterns}{N_bio_patterns} -#' \item{N_platoons}{N_platoons} -#' \item{NatMort_option}{NatMort_option} -#' \item{GrowthModel_option}{GrowthModel_option} -#' \item{Maturity_option}{Maturity_option} -#' \item{Fecundity_option}{Fecundity_option} -#' \item{Start_from_par}{Start_from_par} -#' \item{Do_all_priors}{Do_all_priors} -#' \item{Use_softbound}{Use_softbound} -#' \item{N_nudata}{N_nudata} -#' \item{Max_phase}{Max_phase} -#' \item{Current_phase}{Current_phase} -#' \item{Jitter}{Jitter} -#' \item{ALK_tolerance}{ALK_tolerance} -#' \item{nforecastyears}{nforecastyears} -#' \item{morph_indexing}{morph_indexing} -#' \item{MGparmAdj}{MGparmAdj} -#' \item{forecast_selectivity}{forecast_selectivity} -#' \item{SelSizeAdj}{SelSizeAdj} -#' \item{SelAgeAdj}{SelAgeAdj} -#' \item{recruitment_dist}{recruitment_dist} -#' \item{recruit}{recruit} -#' \item{SPAWN_RECR_CURVE}{SPAWN_RECR_CURVE} -#' \item{breakpoints_for_bias_adjustment_ramp}{breakpoints_for_bias_adjustment_ramp} -#' \item{SpawnOutputUnits}{SpawnOutputUnits} -#' \item{biology}{biology} -#' \item{FecType}{FecType} -#' \item{FecPar1name}{FecPar1name} -#' \item{FecPar2name}{FecPar2name} -#' \item{FecPar1}{FecPar1} -#' \item{FecPar2}{FecPar2} -#' \item{M_type}{M_type} -#' \item{Natural_Mortality_Bmark}{Natural_Mortality_Bmark} -#' \item{Natural_Mortality_endyr}{Natural_Mortality_endyr} -#' \item{Growth_Parameters}{Growth_Parameters} -#' \item{growthCVtype}{growthCVtype} -#' \item{endgrowth}{endgrowth} -#' \item{wtatage_switch}{wtatage_switch} -#' \item{mean_body_wt}{mean_body_wt} -#' \item{growthseries}{growthseries} -#' \item{growthvaries}{growthvaries} -#' \item{sizeselex}{sizeselex} -#' \item{ageselex}{ageselex} -#' \item{F_method}{F_method} -#' \item{exploitation}{exploitation} -#' \item{catch}{catch} -#' \item{summary_age}{summary_age} -#' \item{timeseries}{timeseries} -#' \item{spawnseas}{spawnseas} -#' \item{mainmorphs}{mainmorphs} -#' \item{birthseas}{birthseas} -#' \item{depletion_method}{depletion_method} -#' \item{depletion_basis}{depletion_basis} -#' \item{discard}{discard} -#' \item{discard_type}{discard_type} -#' \item{DF_discard}{DF_discard} -#' \item{discard_spec}{discard_spec} -#' \item{mnwgt}{mnwgt} -#' \item{DF_mnwgt}{DF_mnwgt} -#' \item{sprseries}{sprseries} -#' \item{managementratiolabels}{managementratiolabels} -#' \item{F_report_basis}{F_report_basis} -#' \item{B_ratio_denominator}{B_ratio_denominator} -#' \item{sprtarg}{sprtarg} -#' \item{btarg}{btarg} -#' \item{minbthresh}{minbthresh} -#' \item{Kobe_warn}{Kobe_warn} -#' \item{Kobe_MSY_basis}{Kobe_MSY_basis} -#' \item{Kobe}{Kobe} -#' \item{index_variance_tuning_check}{index_variance_tuning_check} -#' \item{cpue}{cpue} -#' \item{natage}{natage} -#' \item{natage_annual_1_no_fishery}{natage_annual_1_no_fishery} -#' \item{natage_annual_2_with_fishery}{natage_annual_2_with_fishery} -#' \item{batage}{batage} -#' \item{natlen}{natlen} -#' \item{batlen}{batlen} -#' \item{fatage}{fatage} -#' \item{discard_at_age}{discard_at_age} -#' \item{catage}{catage} -#' \item{movement}{movement} -#' \item{ALK}{ALK} -#' \item{N_ageerror_defs}{N_ageerror_defs} -#' \item{equil_yield}{equil_yield} -#' \item{Z_at_age}{Z_at_age} -#' \item{M_at_age}{M_at_age} -#' \item{Dynamic_Bzero}{Dynamic_Bzero} -#' \item{comp_data_exists}{comp_data_exists} -#' \item{lendbase}{lendbase} -#' \item{sizedbase}{sizedbase} -#' \item{agedbase}{agedbase} -#' \item{condbase}{condbase} -#' \item{ghostagedbase}{ghostagedbase} -#' \item{ghostcondbase}{ghostcondbase} -#' \item{ghostlendbase}{ghostlendbase} -#' \item{ladbase}{ladbase} -#' \item{wadbase}{wadbase} -#' \item{tagdbase1}{tagdbase1} -#' \item{tagdbase2}{tagdbase2} -#' \item{len_comp_fit_table}{len_comp_fit_table} -#' \item{size_comp_fit_table}{size_comp_fit_table} -#' \item{derived_quants}{derived_quants} -#' \item{parameters}{parameters} -#' \item{FleetNames}{FleetNames} -#' \item{repfiletime}{repfiletime} -#' \item{SRRtype}{SRRtype} -#' \item{Pstar_sigma}{Pstar_sigma} -#' \item{OFL_sigma}{OFL_sigma} -#' \item{CoVar}{CoVar} -#' \item{highcor}{highcor} -#' \item{lowcor}{lowcor} -#' \item{corstats}{corstats} -#' \item{stdtable}{stdtable} -#' \item{recruitpars}{recruitpars} -#' \item{RecrDistpars}{RecrDistpars} -#' \item{wtatage}{wtatage} -#' \item{jitter_info}{jitter_info} -#' \item{SS_version}{SS_version} -#' \item{SS_versionshort}{SS_versionshort} -#' \item{SS_versionNumeric}{SS_versionNumeric} -#' \item{StartTime}{StartTime} -#' \item{RunTime}{RunTime} -#' \item{Files_used}{Files_used} -#' \item{Nwarnings}{Nwarnings} -#' \item{warnings}{warnings} -#' \item{likelihoods_used}{likelihoods_used} -#' \item{likelihoods_laplace}{likelihoods_laplace} -#' \item{likelihoods_by_fleet}{likelihoods_by_fleet} -#' \item{N_estimated_parameters}{N_estimated_parameters} -#' \item{table_of_phases}{table_of_phases} -#' \item{estimated_non_dev_parameters}{estimated_non_dev_parameters} -#' \item{log_det_hessian}{log_det_hessian} -#' \item{maximum_gradient_component}{maximum_gradient_component} -#' \item{parameters_with_highest_gradients}{parameters_with_highest_gradients} -#' \item{Length_Comp_Fit_Summary}{Length_Comp_Fit_Summary} -#' \item{Age_Comp_Fit_Summary}{Age_Comp_Fit_Summary} -#' \item{SBzero}{SBzero} -#' \item{current_depletion}{current_depletion} -#' \item{last_years_SPR}{last_years_SPR} -#' \item{SPRratioLabel}{SPRratioLabel} -#' \item{sigma_R_in}{sigma_R_in} -#' \item{sigma_R_info}{sigma_R_info} -#' \item{rmse_table}{rmse_table} -#' \item{logfile}{logfile} -#' \item{inputs}{inputs} -#' } -#' -#' @source simulated with \pkg{ss3sim} -#' -#' @author R. Methot, -#' -"simple" - - -#' Retrospective runs for simulated Simple Stock Synthesis model. -#' -#' Stock Synthesis output read by \code{\link[r4ss]{SS_output}()} -#' -#' @docType data -#' -#' @format Large list of 184 objects generated using \pkg{r4ss} -#' \describe{ -#' \item{Data_File}{Data_File} -#' \item{Control_File}{Control_File} -#' \item{definitions}{definitions} -#' \item{fleet_ID}{fleet_ID} -#' \item{fleet_type}{fleet_type} -#' \item{fleet_timing}{fleet_timing} -#' \item{fleet_area}{fleet_area} -#' \item{catch_units}{catch_units} -#' \item{catch_se}{catch_se} -#' \item{equ_catch_se}{equ_catch_se} -#' \item{survey_units}{survey_units} -#' \item{survey_error}{survey_error} -#' \item{IsFishFleet}{IsFishFleet} -#' \item{nfishfleets}{nfishfleets} -#' \item{nfleets}{nfleets} -#' \item{nsexes}{nsexes} -#' \item{ngpatterns}{ngpatterns} -#' \item{lbins}{lbins} -#' \item{Lbin_method}{Lbin_method} -#' \item{nlbins}{nlbins} -#' \item{lbinspop}{lbinspop} -#' \item{nlbinspop}{nlbinspop} -#' \item{sizebinlist}{sizebinlist} -#' \item{agebins}{agebins} -#' \item{nagebins}{nagebins} -#' \item{accuage}{accuage} -#' \item{nareas}{nareas} -#' \item{startyr}{startyr} -#' \item{endyr}{endyr} -#' \item{nseasons}{nseasons} -#' \item{seasfracs}{seasfracs} -#' \item{seasdurations}{seasdurations} -#' \item{N_sub_seasons}{N_sub_seasons} -#' \item{Spawn_month}{Spawn_month} -#' \item{Spawn_seas}{Spawn_seas} -#' \item{Spawn_timing_in_season}{Spawn_timing_in_season} -#' \item{Retro_year}{Retro_year} -#' \item{N_forecast_yrs}{N_forecast_yrs} -#' \item{Empirical_wt_at_age}{Empirical_wt_at_age} -#' \item{N_bio_patterns}{N_bio_patterns} -#' \item{N_platoons}{N_platoons} -#' \item{NatMort_option}{NatMort_option} -#' \item{GrowthModel_option}{GrowthModel_option} -#' \item{Maturity_option}{Maturity_option} -#' \item{Fecundity_option}{Fecundity_option} -#' \item{Start_from_par}{Start_from_par} -#' \item{Do_all_priors}{Do_all_priors} -#' \item{Use_softbound}{Use_softbound} -#' \item{N_nudata}{N_nudata} -#' \item{Max_phase}{Max_phase} -#' \item{Current_phase}{Current_phase} -#' \item{Jitter}{Jitter} -#' \item{ALK_tolerance}{ALK_tolerance} -#' \item{nforecastyears}{nforecastyears} -#' \item{morph_indexing}{morph_indexing} -#' \item{MGparmAdj}{MGparmAdj} -#' \item{forecast_selectivity}{forecast_selectivity} -#' \item{SelSizeAdj}{SelSizeAdj} -#' \item{SelAgeAdj}{SelAgeAdj} -#' \item{recruitment_dist}{recruitment_dist} -#' \item{recruit}{recruit} -#' \item{SPAWN_RECR_CURVE}{SPAWN_RECR_CURVE} -#' \item{breakpoints_for_bias_adjustment_ramp}{breakpoints_for_bias_adjustment_ramp} -#' \item{SpawnOutputUnits}{SpawnOutputUnits} -#' \item{biology}{biology} -#' \item{FecType}{FecType} -#' \item{FecPar1name}{FecPar1name} -#' \item{FecPar2name}{FecPar2name} -#' \item{FecPar1}{FecPar1} -#' \item{FecPar2}{FecPar2} -#' \item{M_type}{M_type} -#' \item{Natural_Mortality_Bmark}{Natural_Mortality_Bmark} -#' \item{Natural_Mortality_endyr}{Natural_Mortality_endyr} -#' \item{Growth_Parameters}{Growth_Parameters} -#' \item{growthCVtype}{growthCVtype} -#' \item{endgrowth}{endgrowth} -#' \item{wtatage_switch}{wtatage_switch} -#' \item{mean_body_wt}{mean_body_wt} -#' \item{growthseries}{growthseries} -#' \item{growthvaries}{growthvaries} -#' \item{sizeselex}{sizeselex} -#' \item{ageselex}{ageselex} -#' \item{F_method}{F_method} -#' \item{exploitation}{exploitation} -#' \item{catch}{catch} -#' \item{summary_age}{summary_age} -#' \item{timeseries}{timeseries} -#' \item{spawnseas}{spawnseas} -#' \item{mainmorphs}{mainmorphs} -#' \item{birthseas}{birthseas} -#' \item{depletion_method}{depletion_method} -#' \item{depletion_basis}{depletion_basis} -#' \item{discard}{discard} -#' \item{discard_type}{discard_type} -#' \item{DF_discard}{DF_discard} -#' \item{discard_spec}{discard_spec} -#' \item{mnwgt}{mnwgt} -#' \item{DF_mnwgt}{DF_mnwgt} -#' \item{sprseries}{sprseries} -#' \item{managementratiolabels}{managementratiolabels} -#' \item{F_report_basis}{F_report_basis} -#' \item{B_ratio_denominator}{B_ratio_denominator} -#' \item{sprtarg}{sprtarg} -#' \item{btarg}{btarg} -#' \item{minbthresh}{minbthresh} -#' \item{Kobe_warn}{Kobe_warn} -#' \item{Kobe_MSY_basis}{Kobe_MSY_basis} -#' \item{Kobe}{Kobe} -#' \item{index_variance_tuning_check}{index_variance_tuning_check} -#' \item{cpue}{cpue} -#' \item{natage}{natage} -#' \item{natage_annual_1_no_fishery}{natage_annual_1_no_fishery} -#' \item{natage_annual_2_with_fishery}{natage_annual_2_with_fishery} -#' \item{batage}{batage} -#' \item{natlen}{natlen} -#' \item{batlen}{batlen} -#' \item{fatage}{fatage} -#' \item{discard_at_age}{discard_at_age} -#' \item{catage}{catage} -#' \item{movement}{movement} -#' \item{ALK}{ALK} -#' \item{N_ageerror_defs}{N_ageerror_defs} -#' \item{equil_yield}{equil_yield} -#' \item{Z_at_age}{Z_at_age} -#' \item{M_at_age}{M_at_age} -#' \item{Dynamic_Bzero}{Dynamic_Bzero} -#' \item{comp_data_exists}{comp_data_exists} -#' \item{lendbase}{lendbase} -#' \item{sizedbase}{sizedbase} -#' \item{agedbase}{agedbase} -#' \item{condbase}{condbase} -#' \item{ghostagedbase}{ghostagedbase} -#' \item{ghostcondbase}{ghostcondbase} -#' \item{ghostlendbase}{ghostlendbase} -#' \item{ladbase}{ladbase} -#' \item{wadbase}{wadbase} -#' \item{tagdbase1}{tagdbase1} -#' \item{tagdbase2}{tagdbase2} -#' \item{len_comp_fit_table}{len_comp_fit_table} -#' \item{size_comp_fit_table}{size_comp_fit_table} -#' \item{derived_quants}{derived_quants} -#' \item{parameters}{parameters} -#' \item{FleetNames}{FleetNames} -#' \item{repfiletime}{repfiletime} -#' \item{SRRtype}{SRRtype} -#' \item{Pstar_sigma}{Pstar_sigma} -#' \item{OFL_sigma}{OFL_sigma} -#' \item{CoVar}{CoVar} -#' \item{highcor}{highcor} -#' \item{lowcor}{lowcor} -#' \item{corstats}{corstats} -#' \item{stdtable}{stdtable} -#' \item{recruitpars}{recruitpars} -#' \item{RecrDistpars}{RecrDistpars} -#' \item{wtatage}{wtatage} -#' \item{jitter_info}{jitter_info} -#' \item{SS_version}{SS_version} -#' \item{SS_versionshort}{SS_versionshort} -#' \item{SS_versionNumeric}{SS_versionNumeric} -#' \item{StartTime}{StartTime} -#' \item{RunTime}{RunTime} -#' \item{Files_used}{Files_used} -#' \item{Nwarnings}{Nwarnings} -#' \item{warnings}{warnings} -#' \item{likelihoods_used}{likelihoods_used} -#' \item{likelihoods_laplace}{likelihoods_laplace} -#' \item{likelihoods_by_fleet}{likelihoods_by_fleet} -#' \item{N_estimated_parameters}{N_estimated_parameters} -#' \item{table_of_phases}{table_of_phases} -#' \item{estimated_non_dev_parameters}{estimated_non_dev_parameters} -#' \item{log_det_hessian}{log_det_hessian} -#' \item{maximum_gradient_component}{maximum_gradient_component} -#' \item{parameters_with_highest_gradients}{parameters_with_highest_gradients} -#' \item{Length_Comp_Fit_Summary}{Length_Comp_Fit_Summary} -#' \item{Age_Comp_Fit_Summary}{Age_Comp_Fit_Summary} -#' \item{SBzero}{SBzero} -#' \item{current_depletion}{current_depletion} -#' \item{last_years_SPR}{last_years_SPR} -#' \item{SPRratioLabel}{SPRratioLabel} -#' \item{sigma_R_in}{sigma_R_in} -#' \item{sigma_R_info}{sigma_R_info} -#' \item{rmse_table}{rmse_table} -#' \item{logfile}{logfile} -#' \item{inputs}{inputs} -#' } -#' -#' @source simulated with \pkg{ss3sim} -#' -#' @author R. Methot -#' -"retroSimple" - - -#' MCMC output for simulated Simple Stock Synthesis model. -#' -#' MCMC output read by \code{\link[r4ss]{SSgetMCMC}()} -#' -#' @docType data -#' -#' @format Large dataframe of MCMC parameter estimates with nrow = number of values and ncol = number of parameters -#' \describe{ -#' \item{mcmcSimple}{mcmcSimple} -#' } -#' -#' @source MCMC evaluated with Stock Synthesis -#' -#' @author R. Methot, -#' -"mcmcSimple" diff --git a/man/mcmcSimple.Rd b/man/mcmcSimple.Rd deleted file mode 100644 index cbc3bdb..0000000 --- a/man/mcmcSimple.Rd +++ /dev/null @@ -1,25 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data.R -\docType{data} -\name{mcmcSimple} -\alias{mcmcSimple} -\title{MCMC output for simulated Simple Stock Synthesis model.} -\format{ -Large dataframe of MCMC parameter estimates with nrow = number of values and ncol = number of parameters -\describe{ -\item{mcmcSimple}{mcmcSimple} -} -} -\source{ -MCMC evaluated with Stock Synthesis -} -\usage{ -mcmcSimple -} -\description{ -MCMC output read by \code{\link[r4ss]{SSgetMCMC}()} -} -\author{ -R. Methot, -} -\keyword{datasets} diff --git a/man/retroSimple.Rd b/man/retroSimple.Rd deleted file mode 100644 index 976a644..0000000 --- a/man/retroSimple.Rd +++ /dev/null @@ -1,208 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data.R -\docType{data} -\name{retroSimple} -\alias{retroSimple} -\title{Retrospective runs for simulated Simple Stock Synthesis model.} -\format{ -Large list of 184 objects generated using \pkg{r4ss} -\describe{ -\item{Data_File}{Data_File} -\item{Control_File}{Control_File} -\item{definitions}{definitions} -\item{fleet_ID}{fleet_ID} -\item{fleet_type}{fleet_type} -\item{fleet_timing}{fleet_timing} -\item{fleet_area}{fleet_area} -\item{catch_units}{catch_units} -\item{catch_se}{catch_se} -\item{equ_catch_se}{equ_catch_se} -\item{survey_units}{survey_units} -\item{survey_error}{survey_error} -\item{IsFishFleet}{IsFishFleet} -\item{nfishfleets}{nfishfleets} -\item{nfleets}{nfleets} -\item{nsexes}{nsexes} -\item{ngpatterns}{ngpatterns} -\item{lbins}{lbins} -\item{Lbin_method}{Lbin_method} -\item{nlbins}{nlbins} -\item{lbinspop}{lbinspop} -\item{nlbinspop}{nlbinspop} -\item{sizebinlist}{sizebinlist} -\item{agebins}{agebins} -\item{nagebins}{nagebins} -\item{accuage}{accuage} -\item{nareas}{nareas} -\item{startyr}{startyr} -\item{endyr}{endyr} -\item{nseasons}{nseasons} -\item{seasfracs}{seasfracs} -\item{seasdurations}{seasdurations} -\item{N_sub_seasons}{N_sub_seasons} -\item{Spawn_month}{Spawn_month} -\item{Spawn_seas}{Spawn_seas} -\item{Spawn_timing_in_season}{Spawn_timing_in_season} -\item{Retro_year}{Retro_year} -\item{N_forecast_yrs}{N_forecast_yrs} -\item{Empirical_wt_at_age}{Empirical_wt_at_age} -\item{N_bio_patterns}{N_bio_patterns} -\item{N_platoons}{N_platoons} -\item{NatMort_option}{NatMort_option} -\item{GrowthModel_option}{GrowthModel_option} -\item{Maturity_option}{Maturity_option} -\item{Fecundity_option}{Fecundity_option} -\item{Start_from_par}{Start_from_par} -\item{Do_all_priors}{Do_all_priors} -\item{Use_softbound}{Use_softbound} -\item{N_nudata}{N_nudata} -\item{Max_phase}{Max_phase} -\item{Current_phase}{Current_phase} -\item{Jitter}{Jitter} -\item{ALK_tolerance}{ALK_tolerance} -\item{nforecastyears}{nforecastyears} -\item{morph_indexing}{morph_indexing} -\item{MGparmAdj}{MGparmAdj} -\item{forecast_selectivity}{forecast_selectivity} -\item{SelSizeAdj}{SelSizeAdj} -\item{SelAgeAdj}{SelAgeAdj} -\item{recruitment_dist}{recruitment_dist} -\item{recruit}{recruit} -\item{SPAWN_RECR_CURVE}{SPAWN_RECR_CURVE} -\item{breakpoints_for_bias_adjustment_ramp}{breakpoints_for_bias_adjustment_ramp} -\item{SpawnOutputUnits}{SpawnOutputUnits} -\item{biology}{biology} -\item{FecType}{FecType} -\item{FecPar1name}{FecPar1name} -\item{FecPar2name}{FecPar2name} -\item{FecPar1}{FecPar1} -\item{FecPar2}{FecPar2} -\item{M_type}{M_type} -\item{Natural_Mortality_Bmark}{Natural_Mortality_Bmark} -\item{Natural_Mortality_endyr}{Natural_Mortality_endyr} -\item{Growth_Parameters}{Growth_Parameters} -\item{growthCVtype}{growthCVtype} -\item{endgrowth}{endgrowth} -\item{wtatage_switch}{wtatage_switch} -\item{mean_body_wt}{mean_body_wt} -\item{growthseries}{growthseries} -\item{growthvaries}{growthvaries} -\item{sizeselex}{sizeselex} -\item{ageselex}{ageselex} -\item{F_method}{F_method} -\item{exploitation}{exploitation} -\item{catch}{catch} -\item{summary_age}{summary_age} -\item{timeseries}{timeseries} -\item{spawnseas}{spawnseas} -\item{mainmorphs}{mainmorphs} -\item{birthseas}{birthseas} -\item{depletion_method}{depletion_method} -\item{depletion_basis}{depletion_basis} -\item{discard}{discard} -\item{discard_type}{discard_type} -\item{DF_discard}{DF_discard} -\item{discard_spec}{discard_spec} -\item{mnwgt}{mnwgt} -\item{DF_mnwgt}{DF_mnwgt} -\item{sprseries}{sprseries} -\item{managementratiolabels}{managementratiolabels} -\item{F_report_basis}{F_report_basis} -\item{B_ratio_denominator}{B_ratio_denominator} -\item{sprtarg}{sprtarg} -\item{btarg}{btarg} -\item{minbthresh}{minbthresh} -\item{Kobe_warn}{Kobe_warn} -\item{Kobe_MSY_basis}{Kobe_MSY_basis} -\item{Kobe}{Kobe} -\item{index_variance_tuning_check}{index_variance_tuning_check} -\item{cpue}{cpue} -\item{natage}{natage} -\item{natage_annual_1_no_fishery}{natage_annual_1_no_fishery} -\item{natage_annual_2_with_fishery}{natage_annual_2_with_fishery} -\item{batage}{batage} -\item{natlen}{natlen} -\item{batlen}{batlen} -\item{fatage}{fatage} -\item{discard_at_age}{discard_at_age} -\item{catage}{catage} -\item{movement}{movement} -\item{ALK}{ALK} -\item{N_ageerror_defs}{N_ageerror_defs} -\item{equil_yield}{equil_yield} -\item{Z_at_age}{Z_at_age} -\item{M_at_age}{M_at_age} -\item{Dynamic_Bzero}{Dynamic_Bzero} -\item{comp_data_exists}{comp_data_exists} -\item{lendbase}{lendbase} -\item{sizedbase}{sizedbase} -\item{agedbase}{agedbase} -\item{condbase}{condbase} -\item{ghostagedbase}{ghostagedbase} -\item{ghostcondbase}{ghostcondbase} -\item{ghostlendbase}{ghostlendbase} -\item{ladbase}{ladbase} -\item{wadbase}{wadbase} -\item{tagdbase1}{tagdbase1} -\item{tagdbase2}{tagdbase2} -\item{len_comp_fit_table}{len_comp_fit_table} -\item{size_comp_fit_table}{size_comp_fit_table} -\item{derived_quants}{derived_quants} -\item{parameters}{parameters} -\item{FleetNames}{FleetNames} -\item{repfiletime}{repfiletime} -\item{SRRtype}{SRRtype} -\item{Pstar_sigma}{Pstar_sigma} -\item{OFL_sigma}{OFL_sigma} -\item{CoVar}{CoVar} -\item{highcor}{highcor} -\item{lowcor}{lowcor} -\item{corstats}{corstats} -\item{stdtable}{stdtable} -\item{recruitpars}{recruitpars} -\item{RecrDistpars}{RecrDistpars} -\item{wtatage}{wtatage} -\item{jitter_info}{jitter_info} -\item{SS_version}{SS_version} -\item{SS_versionshort}{SS_versionshort} -\item{SS_versionNumeric}{SS_versionNumeric} -\item{StartTime}{StartTime} -\item{RunTime}{RunTime} -\item{Files_used}{Files_used} -\item{Nwarnings}{Nwarnings} -\item{warnings}{warnings} -\item{likelihoods_used}{likelihoods_used} -\item{likelihoods_laplace}{likelihoods_laplace} -\item{likelihoods_by_fleet}{likelihoods_by_fleet} -\item{N_estimated_parameters}{N_estimated_parameters} -\item{table_of_phases}{table_of_phases} -\item{estimated_non_dev_parameters}{estimated_non_dev_parameters} -\item{log_det_hessian}{log_det_hessian} -\item{maximum_gradient_component}{maximum_gradient_component} -\item{parameters_with_highest_gradients}{parameters_with_highest_gradients} -\item{Length_Comp_Fit_Summary}{Length_Comp_Fit_Summary} -\item{Age_Comp_Fit_Summary}{Age_Comp_Fit_Summary} -\item{SBzero}{SBzero} -\item{current_depletion}{current_depletion} -\item{last_years_SPR}{last_years_SPR} -\item{SPRratioLabel}{SPRratioLabel} -\item{sigma_R_in}{sigma_R_in} -\item{sigma_R_info}{sigma_R_info} -\item{rmse_table}{rmse_table} -\item{logfile}{logfile} -\item{inputs}{inputs} -} -} -\source{ -simulated with \pkg{ss3sim} -} -\usage{ -retroSimple -} -\description{ -Stock Synthesis output read by \code{\link[r4ss]{SS_output}()} -} -\author{ -R. Methot -} -\keyword{datasets} diff --git a/man/simple.Rd b/man/simple.Rd deleted file mode 100644 index 8a67c68..0000000 --- a/man/simple.Rd +++ /dev/null @@ -1,208 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/data.R -\docType{data} -\name{simple} -\alias{simple} -\title{A simulated Simple Stock Synthesis model for a "cod-like" stock.} -\format{ -Large list of 184 objects generated using \pkg{r4ss} -\describe{ -\item{Data_File}{Data_File} -\item{Control_File}{Control_File} -\item{definitions}{definitions} -\item{fleet_ID}{fleet_ID} -\item{fleet_type}{fleet_type} -\item{fleet_timing}{fleet_timing} -\item{fleet_area}{fleet_area} -\item{catch_units}{catch_units} -\item{catch_se}{catch_se} -\item{equ_catch_se}{equ_catch_se} -\item{survey_units}{survey_units} -\item{survey_error}{survey_error} -\item{IsFishFleet}{IsFishFleet} -\item{nfishfleets}{nfishfleets} -\item{nfleets}{nfleets} -\item{nsexes}{nsexes} -\item{ngpatterns}{ngpatterns} -\item{lbins}{lbins} -\item{Lbin_method}{Lbin_method} -\item{nlbins}{nlbins} -\item{lbinspop}{lbinspop} -\item{nlbinspop}{nlbinspop} -\item{sizebinlist}{sizebinlist} -\item{agebins}{agebins} -\item{nagebins}{nagebins} -\item{accuage}{accuage} -\item{nareas}{nareas} -\item{startyr}{startyr} -\item{endyr}{endyr} -\item{nseasons}{nseasons} -\item{seasfracs}{seasfracs} -\item{seasdurations}{seasdurations} -\item{N_sub_seasons}{N_sub_seasons} -\item{Spawn_month}{Spawn_month} -\item{Spawn_seas}{Spawn_seas} -\item{Spawn_timing_in_season}{Spawn_timing_in_season} -\item{Retro_year}{Retro_year} -\item{N_forecast_yrs}{N_forecast_yrs} -\item{Empirical_wt_at_age}{Empirical_wt_at_age} -\item{N_bio_patterns}{N_bio_patterns} -\item{N_platoons}{N_platoons} -\item{NatMort_option}{NatMort_option} -\item{GrowthModel_option}{GrowthModel_option} -\item{Maturity_option}{Maturity_option} -\item{Fecundity_option}{Fecundity_option} -\item{Start_from_par}{Start_from_par} -\item{Do_all_priors}{Do_all_priors} -\item{Use_softbound}{Use_softbound} -\item{N_nudata}{N_nudata} -\item{Max_phase}{Max_phase} -\item{Current_phase}{Current_phase} -\item{Jitter}{Jitter} -\item{ALK_tolerance}{ALK_tolerance} -\item{nforecastyears}{nforecastyears} -\item{morph_indexing}{morph_indexing} -\item{MGparmAdj}{MGparmAdj} -\item{forecast_selectivity}{forecast_selectivity} -\item{SelSizeAdj}{SelSizeAdj} -\item{SelAgeAdj}{SelAgeAdj} -\item{recruitment_dist}{recruitment_dist} -\item{recruit}{recruit} -\item{SPAWN_RECR_CURVE}{SPAWN_RECR_CURVE} -\item{breakpoints_for_bias_adjustment_ramp}{breakpoints_for_bias_adjustment_ramp} -\item{SpawnOutputUnits}{SpawnOutputUnits} -\item{biology}{biology} -\item{FecType}{FecType} -\item{FecPar1name}{FecPar1name} -\item{FecPar2name}{FecPar2name} -\item{FecPar1}{FecPar1} -\item{FecPar2}{FecPar2} -\item{M_type}{M_type} -\item{Natural_Mortality_Bmark}{Natural_Mortality_Bmark} -\item{Natural_Mortality_endyr}{Natural_Mortality_endyr} -\item{Growth_Parameters}{Growth_Parameters} -\item{growthCVtype}{growthCVtype} -\item{endgrowth}{endgrowth} -\item{wtatage_switch}{wtatage_switch} -\item{mean_body_wt}{mean_body_wt} -\item{growthseries}{growthseries} -\item{growthvaries}{growthvaries} -\item{sizeselex}{sizeselex} -\item{ageselex}{ageselex} -\item{F_method}{F_method} -\item{exploitation}{exploitation} -\item{catch}{catch} -\item{summary_age}{summary_age} -\item{timeseries}{timeseries} -\item{spawnseas}{spawnseas} -\item{mainmorphs}{mainmorphs} -\item{birthseas}{birthseas} -\item{depletion_method}{depletion_method} -\item{depletion_basis}{depletion_basis} -\item{discard}{discard} -\item{discard_type}{discard_type} -\item{DF_discard}{DF_discard} -\item{discard_spec}{discard_spec} -\item{mnwgt}{mnwgt} -\item{DF_mnwgt}{DF_mnwgt} -\item{sprseries}{sprseries} -\item{managementratiolabels}{managementratiolabels} -\item{F_report_basis}{F_report_basis} -\item{B_ratio_denominator}{B_ratio_denominator} -\item{sprtarg}{sprtarg} -\item{btarg}{btarg} -\item{minbthresh}{minbthresh} -\item{Kobe_warn}{Kobe_warn} -\item{Kobe_MSY_basis}{Kobe_MSY_basis} -\item{Kobe}{Kobe} -\item{index_variance_tuning_check}{index_variance_tuning_check} -\item{cpue}{cpue} -\item{natage}{natage} -\item{natage_annual_1_no_fishery}{natage_annual_1_no_fishery} -\item{natage_annual_2_with_fishery}{natage_annual_2_with_fishery} -\item{batage}{batage} -\item{natlen}{natlen} -\item{batlen}{batlen} -\item{fatage}{fatage} -\item{discard_at_age}{discard_at_age} -\item{catage}{catage} -\item{movement}{movement} -\item{ALK}{ALK} -\item{N_ageerror_defs}{N_ageerror_defs} -\item{equil_yield}{equil_yield} -\item{Z_at_age}{Z_at_age} -\item{M_at_age}{M_at_age} -\item{Dynamic_Bzero}{Dynamic_Bzero} -\item{comp_data_exists}{comp_data_exists} -\item{lendbase}{lendbase} -\item{sizedbase}{sizedbase} -\item{agedbase}{agedbase} -\item{condbase}{condbase} -\item{ghostagedbase}{ghostagedbase} -\item{ghostcondbase}{ghostcondbase} -\item{ghostlendbase}{ghostlendbase} -\item{ladbase}{ladbase} -\item{wadbase}{wadbase} -\item{tagdbase1}{tagdbase1} -\item{tagdbase2}{tagdbase2} -\item{len_comp_fit_table}{len_comp_fit_table} -\item{size_comp_fit_table}{size_comp_fit_table} -\item{derived_quants}{derived_quants} -\item{parameters}{parameters} -\item{FleetNames}{FleetNames} -\item{repfiletime}{repfiletime} -\item{SRRtype}{SRRtype} -\item{Pstar_sigma}{Pstar_sigma} -\item{OFL_sigma}{OFL_sigma} -\item{CoVar}{CoVar} -\item{highcor}{highcor} -\item{lowcor}{lowcor} -\item{corstats}{corstats} -\item{stdtable}{stdtable} -\item{recruitpars}{recruitpars} -\item{RecrDistpars}{RecrDistpars} -\item{wtatage}{wtatage} -\item{jitter_info}{jitter_info} -\item{SS_version}{SS_version} -\item{SS_versionshort}{SS_versionshort} -\item{SS_versionNumeric}{SS_versionNumeric} -\item{StartTime}{StartTime} -\item{RunTime}{RunTime} -\item{Files_used}{Files_used} -\item{Nwarnings}{Nwarnings} -\item{warnings}{warnings} -\item{likelihoods_used}{likelihoods_used} -\item{likelihoods_laplace}{likelihoods_laplace} -\item{likelihoods_by_fleet}{likelihoods_by_fleet} -\item{N_estimated_parameters}{N_estimated_parameters} -\item{table_of_phases}{table_of_phases} -\item{estimated_non_dev_parameters}{estimated_non_dev_parameters} -\item{log_det_hessian}{log_det_hessian} -\item{maximum_gradient_component}{maximum_gradient_component} -\item{parameters_with_highest_gradients}{parameters_with_highest_gradients} -\item{Length_Comp_Fit_Summary}{Length_Comp_Fit_Summary} -\item{Age_Comp_Fit_Summary}{Age_Comp_Fit_Summary} -\item{SBzero}{SBzero} -\item{current_depletion}{current_depletion} -\item{last_years_SPR}{last_years_SPR} -\item{SPRratioLabel}{SPRratioLabel} -\item{sigma_R_in}{sigma_R_in} -\item{sigma_R_info}{sigma_R_info} -\item{rmse_table}{rmse_table} -\item{logfile}{logfile} -\item{inputs}{inputs} -} -} -\source{ -simulated with \pkg{ss3sim} -} -\usage{ -simple -} -\description{ -Stock Synthesis output read by \code{\link[r4ss]{SS_output}()} -} -\author{ -R. Methot, -} -\keyword{datasets} diff --git a/tests/testthat/test-HCxval.R b/tests/testthat/test-HCxval.R index c983af2..cd15493 100644 --- a/tests/testthat/test-HCxval.R +++ b/tests/testthat/test-HCxval.R @@ -1,5 +1,12 @@ ## Test script for hindcast cross validation and MASE + retroModels <- r4ss::SSgetoutput( + dirvec = file.path( + run_tmp, "retrospectives", + paste0("retro", 0:-3) + ) + ) + retrosum.simple <- r4ss::SSsummarize(retroModels) path <- file.path(tempdir(), "test_runs") dir.create(path, showWarnings = FALSE)