Skip to content

Unexpected interval column can cause error #258

Closed Answered by billdenney
racheleclapham asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Rachel,

I have not yet generated a new version for CRAN, so the September fix requires installing from GitHub (remotes::install_github("billdenney/pknca")).

Your issue is identical to the one in #238, the intervals use a column named aucinf rather than aucinf.obs (or similar). This will work with the current version of PKNCA on CRAN:

library(PKNCA)

d_conc<-read.csv("https://github.com/billdenney/pknca/files/13478420/ptall.csv")

d_dose <- d_conc[d_conc$time == 0,]

conc_obj <- PKNCAconc(d_conc,
                      dv~time|group+ID)
dose_obj <- PKNCAdose(d_dose,
                      amt~time|group+ID)

my.intervals<-data.frame(start=0,end=Inf,cmax=T,ctrough=T, tmax=T, half.life=T,au…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@racheleclapham
Comment options

Answer selected by billdenney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants