You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During some testing with SIMrun, I encountered an error.
When the number of non-fixed covariates to be simulated is one, SIMrun will fail to create a csv-file with the data.
This is the error: Error in (nfixed + 1):(nfixed + ncol(covDF)) : argument of length 0.
I believe this error is because ncol(covDF) evaluates to NULL.
Setting obsNoise to model file assay error. When making a csv file, you cannot specify no obsNoise.
Model solver mode: Algebraic
Number of compartments: 2, including an absorptive compartment
Primary Variables: Ka, Ke, V, Tlag1, wt
Covariates in data file: africa, age, gender, height
Covariates used in model file: africa, age, gender, height
Secondary Variables: KCP, KPC
Model conditions: no bioavailability term defined, initial conditions are zero, lag term defined
The following subject(s) in the data will serve as the template(s) for simulation: 1
Simulating from subject 1 ... Error in (nfixed + 1):(nfixed + ncol(covDF)) : argument of length 0
The text was updated successfully, but these errors were encountered:
During some testing with SIMrun, I encountered an error.
When the number of non-fixed covariates to be simulated is one, SIMrun will fail to create a csv-file with the data.
This is the error:
Error in (nfixed + 1):(nfixed + ncol(covDF)) : argument of length 0
.I believe this error is because
ncol(covDF)
evaluates toNULL
.Here is a minimal example reproducing the error:
The text was updated successfully, but these errors were encountered: