Skip to content

New to PKNCA #296

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

You must be logged in to vote

When I ran your code, I didn't get the same error. Can you please try reinstalling PKNCA to ensure that you're using the current version?

Other than that, your code swapped PERIOD and SUBJID in the definition of o_conc so that PERIOD was assumed to be the subject identifier. And, you used intervals_manual instead of d_intervals.

This code works for me:

library(PKNCA)
#> 
#> Attaching package: 'PKNCA'
#> The following object is masked from 'package:stats':
#> 
#>     filter

TestData <- read.csv("https://github.com/user-attachments/files/15523686/TestData.csv")

o_conc <- PKNCAconc(data=TestData, formula=CONC~HOUR|PERIOD+SUBJID) 

d_intervals <- data.frame(start=0, end=24, auclast=TRUE)
o_…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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