Documentation states that simFile may be internal data.frame. This case is not supported.
# fake simulated data
colnames(Theoph) <- c("ID", "WT", "DOSE", "TIME", "DV")
TheophSim <- rbind(
cbind(Theoph, REP = 1),
cbind(Theoph, REP = 2))
TheophSim$DV <- TheophSim$DV + rnorm(n = nrow(TheophSim))
# run analysis
ncappc::ncappc(
obsFile = Theoph,
simFile = TheophSim,
noPlot = TRUE,
printOut = FALSE,
psnOut = FALSE)
Documentation states that simFile may be internal data.frame. This case is not supported.