Closed willbutler42 closed 2 years ago
The reason param$value
is a list is it's possible under TMB to have vectors longer than 1 as parameters. This is basically unused by us though, and support has atrophied somewhat. However, it'll be very useful when finally doing automatic conversion of missing data -> random variables.
Even when this happens, unlist
may do what you want anyway, but thought some background in case it's useful :)
if params$value is a list (which it typically is) it is turned into vector prior to calculating rho