Skip to content
Discussion options

You must be logged in to vote

Here is a reproducible solution:

#build PK model
library(rxode2)
#> rxode2 5.0.1.9000 using 11 threads (see ?getRxThreads)
#>   no cache: create with `rxCreateCache()`
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union
#library(posologyr)

rx1 <- rxode2({
  TVCL <- tvcl*(EGFR/52.0)^tvcl_egfr*(BMI/24.0)^tvcl_bmi
  CL <- TVCL*exp(eta.cl)
  TVV1 <- tvv1*(BMI/24.0)^tvv1_bmi*(TOPR/66.0)^tvv1_topr*(SODI/138.25)^tvv1_sodi*(1+tvv1_fb*(FB-2.7965))*tvv1_flg
  V1 <- TVV1*exp(eta.v1)
  Q <- tvq
  V2 <- tvv2
  A1 ~ centr;
  

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

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