wham icon indicating copy to clipboard operation
wham copied to clipboard

Question: should ragged IAA_mats (varying ages) work by using index_sel_start_age and index_sel_end_age?

Open tcarruth opened this issue 3 years ago • 2 comments

Line 173 of prepare_wham_input():

temp = asap3$IAA_mats[[i]][, 3 + 1:data$n_ages]

requires that all IAA mats have data for all n_ages. However, the NMFS fall survey (that I have at least) goes from ages 1 to 5, while the spring survey goes from ages 1 to 8.

I was wondering if this is the intended role of the $index_sel_start_age and $index_sel_end_age slots?

It looks like I can just expand out these matrices to include NAs otherwise.

tcarruth avatar Mar 11 '21 02:03 tcarruth