Replies: 1 comment
-
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 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_data <- PKNCAdata(o_conc, intervals=d_intervals)
o_results <- pk.nca(o_data)
#> No dose information provided, calculations requiring dose will return NA.
summary(o_results)
#> start end PERIOD N auclast
#> 0 24 1 37 308 [24.0]
#>
#> Caption: auclast: geometric mean and geometric coefficient of variation; N: number of subjects Created on 2024-06-06 with reprex v2.1.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a scenario, On Days 1 through 7 of Period 1, participants drug A once daily (QD). PK samples will be collected predose on Day 1 and Day 7 and up to 24 hours post Day 7 dose. In period 2 participants were dose with another drug B for 15 days. PK samples were collected predose on day 15 and up to 24 hours post dose.
I wanted to perform nca so that i can obtain pk parameter for 0-24 of Day 7 period 1 and 0-24 Day15 of period 2.
But i am endig up with error message as below. Can anyone help me /guide on what am i doing wrong here please :
Below is my code :
Beta Was this translation helpful? Give feedback.
All reactions