Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulated data must be file #2

Open
CSJCampbell opened this issue Nov 13, 2017 · 0 comments
Open

Simulated data must be file #2

CSJCampbell opened this issue Nov 13, 2017 · 0 comments

Comments

@CSJCampbell
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant