nlmixr2 / rxode2

rxode2
https://nlmixr2.github.io/rxode2/
GNU General Public License v3.0
24 stars 6 forks source link

Issue encountered with ev$expand() #701

Closed kulaksp closed 1 week ago

kulaksp commented 1 week ago

Trying to manipulate the following ev after expansion. But expansion doesn't seem to be working. Any input?

ev = et() ev = ev %>% et(id=1:10, amt=1:10, dosing.to=1, ii=14, addl=5, rate=(1:10)/(15/60/24), cmt=1) ev$expand() 'lst[j]': [1] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" Error: 'lst[j]' needs to be a integer vector Called from: ev$expand() Browse[1]> Q

Regards, Kulandayan "Karthik" Subramanian

mattfidler commented 1 week ago

Hi @kulaksp

Added issue here:

https://github.com/nlmixr2/rxode2et/issues/43