Generate the variance-covariance matrix for Eleveld PK-PD model for an observation via Monte Carlo sampling.
eleveld_vcov(
dat,
N = 1000,
rates = TRUE,
varnames = c("K10", "K12", "K21", "K13", "K31", "V1", "V2", "V3", "KE0", "CE50",
"SIGMA")
)
List of variance-covariance matrices with length equal to the number of rows in dat.
Data frame of observed patient covariates
Number of Monte Carlo samples
Logical. Should rate constants be calculated
Column names of variables used to calculate variance-covariance matrix