Prototype R package interface for AGEPRO (Age Structure Projection Model) using the JSON data format.
GNU General Public License v3.0
1
stars
0
forks
source link
Recruitment: redundant/ambiguous use of seq_yrs #13
Closed
efletcherPIFSC closed 1 year ago
Use of redundant or ambiguous use of sequence years in recruitment
seq_yrs
: Sequence of projected yearsseq_years
seq_years
: Array representing the Projection Time Horizonseq_years
as a parameter to set recruit data (set_recruit_data).seq_years
toprivate$assert_seq_years
to handle seq_years as a single int or a vector of sequential valuesseq_years
as parameterprivate$assert_seq_years
, assignself$seq_years <- seq_years
self$seq_yrs
is a single int:private$.qty_seq_years
toself$seq_years
valueprivate$.req_seq_years
from 1 toself$seq_years
private$.qty_seq_years
toself$seq_years
valueprivate$.req_seq_years
from 1 toself$seq_years
private$.qty_seq_years
is number of sequential projection yearsnum_rec_seq
private$.req_seq_years
is the sequential projection year names used as array index names of recruitment probabilityseq_yr_array
self$seq_yrs
to setup recuitment model data (set_recruit_model).Solutions
self$seq_yrs
passed into set_recruit_modelseq_yrs
toobservation_years
(ala AGEPRO-CoreLibAgeproRecruitment.cs
).qty_seq_years
, and.req_seq_years