qPharmetra / qpToolkit

Tools for population PK modeling, visualization, and reporting
Other
1 stars 1 forks source link

nm.process.coveffects has problems if categorical covariates are converted to text #4

Closed jtchittenden closed 4 years ago

jtchittenden commented 5 years ago

for instance, in equations: V1 ~ THETA(1) + THETA(2)*(SEX=="MALE") seems to cause problems.

It may be that the conversion to character is incomplete and breaks don't match actual levels.

bergsmat commented 4 years ago

@jtchittenden : in branch iss04, I've stubbed in an example that seems to work. Can you break it? I've converted GNDR to female/male, and then run the usual processing and plots.

bergsmat commented 4 years ago

e4ed96: provisionally fixed. Happy to reopen for alternate MWE.