Forums

Back

movement matrix bug

DF
Dan Fu, modified 3 Years ago.

movement matrix bug

Youngling Posts: 46 Join Date: 12/14/16 Recent Posts

Dear SS team,

I think there is probably a bug in SS_output() relating to reading in the movement matrix:

> dat <- out$movement
> head(dat)      

          1 1 1 2 2 8 age0 age0 age0.00159169 age0.00228114 age0.00326826 age0.00468052 age0.00669895 age0.00957944 age0.0136814
2674 1 1 2 1 2 8    0    0    0.39452600    0.51201700    0.62819500    0.73123200    0.81416300    0.87584900  0.919094000
2675 2 1 1 2 2 8    0    0    0.23376300    0.09266880    0.03306130    0.01131700    0.00381740    0.00128123  0.000429289

 

It appears that the correct column headers  ('seas','GP','source_area','dest_area',...) are missing and the first row of the estimates have been converted to column headers.

 

I am using SS3.30.15.07-safe and the development version of r4ss from github.

 

Cheers,

Dan

KD
Kathryn Doering, modified 3 Years ago.

RE: movement matrix bug

Youngling Posts: 57 Join Date: 2/19/19 Recent Posts

Hi Dan, 

Thanks for reporting this! From your description it does look like a bug. I will try to replicate the problem and push a bug fix as soon as possible, posting on the forum when finished.

 

Thanks,

Kathryn