state_correcter_nm: Internal: Correct NONMEM states
Description
For NNs to be handled correctly, the state argument may not include brackets. state_correcter_nm translates argument
state=A(1) to state=A1 and A1=A(1)
Usage
state_correcter_nm(text)
Value
[1] NN with corrected state argument
[2] State translation, e.g., “A1=A(1)”
Arguments
text
(string) NN of form “NN1(state=A(1),min_init=1,max_init=5)”