The purpose of "model_switch"
Sibojang9 opened this issue · comments
The term "model _switch" is included in a couple of example files.
In ex1, the "model _switch" is not defined.
In ex3b, it is defined as model_switch=c(1,1,1,1,1,2,2,2,2,2).
Is there any special purpose for this term?
Thanks.
Hi Andrew,
Thank you for the reply. It seems that "model _switch" is required as a place holder for the function even you have PK models alone. It that correct?
You never have to define model_switch if you only have one model (one response). However, the functions ff_fun and ferror_fun should have model_switch as their first argument as you see in the first example.
Thanks for the clarification.