This converts NONMEM-style EVIDs to classic RxODE events
Value
classic evids, excluding evids that are added (you need to add them manually) or simply use etTran. This is mostly for testing and really shouldn't be used directly.
Examples
.toClassicEvid(cmt=10, amt=3, evid=1)
#> [1] 1001
.toClassicEvid(cmt=10, amt=3, rate=2, evid=1)
#> [1] 11001
.toClassicEvid(cmt=10, amt=3, rate=-1, evid=1)
#> [1] 91001
.toClassicEvid(cmt=10, amt=3, rate=-2, evid=1)
#> [1] 81001
.toClassicEvid(cmt=10, amt=3, dur=2, evid=1)
#> [1] 21001
.toClassicEvid(cmt=304, amt=3, dur=2, evid=1)
#> [1] 320401
.toClassicEvid(cmt=7, amt=0, rate=2, evid=1, ss=1)
#> [1] 10740
.toClassicEvid(cmt=-10, amt=3, evid=1)
#> [1] 1030
.toClassicEvid(cmt=10, amt=3, evid=5)
#> [1] 41001
.toClassicEvid(cmt=6, amt=3, evid=6)
#> [1] 50601
.toClassicEvid(cmt=6, amt=3, evid=7)
#> [1] 650
.toClassicEvid(evid=2)
#> [1] 2
.toClassicEvid(evid=4)
#> [1] 101