Describe the situation that led to the request and a solution
I would like to be able to change a parameter vector that is by default not time-varying, i.e., a fixed effect parameter vector like fishing mortality, into a vector of both constant values and fixed effect values. But, right now the wrapper functions prohibit this because the default is to set vectors with a single estimation type, e.g., "fixed_effect", and when you try to pass a vector of strings as the new vector to update_parameters() you get an error saying that the vectors are of different length.
Alternative solutions
We can leave it as is and just have users change things manually, which is what I am doing in the test for right now, e.g.,
parameters[[1]][["fleet1"]][["Fleet.log_Fmort.estimation_type"]] <- c(
rep("constant", 3),
rep("fixed_effect", 27)
)
@Bai-Li-NOAA can you comment on if you think that we need this feature or not or if we should just provide examples of how users can change it manually like how I show above.
Statistical validity
No response
Additional context
No response
Describe the situation that led to the request and a solution
I would like to be able to change a parameter vector that is by default not time-varying, i.e., a fixed effect parameter vector like fishing mortality, into a vector of both constant values and fixed effect values. But, right now the wrapper functions prohibit this because the default is to set vectors with a single estimation type, e.g., "fixed_effect", and when you try to pass a vector of strings as the new vector to
update_parameters()you get an error saying that the vectors are of different length.Alternative solutions
We can leave it as is and just have users change things manually, which is what I am doing in the test for right now, e.g.,
@Bai-Li-NOAA can you comment on if you think that we need this feature or not or if we should just provide examples of how users can change it manually like how I show above.
Statistical validity
No response
Additional context
No response