I have a nlmixr model that uses factors for the subject identifier (specifically, I just run as.factor() on the USUBJID). That causes an issue where all the ID values become NA. The issue appears to be due to the as.num() internal function converting the factors into character strings.
Pull request to make as.num() work more simply with factors forthcoming...
Related to nlmixrdevelopment/nlmixr#493
I have a nlmixr model that uses factors for the subject identifier (specifically, I just run
as.factor()
on theUSUBJID
). That causes an issue where all the ID values becomeNA
. The issue appears to be due to theas.num()
internal function converting the factors into character strings.Pull request to make
as.num()
work more simply with factors forthcoming...