<- c(
etas "ETA1//ETA-CL",
"ETA2//ETA-V2",
"ETA3//ETA-KA"
)
8.1 Setup
We start by defining a set of ETAs to use in the plots.
This is in the col-label
format described earlier. We also set out a set of covariates that we can use for ETA diagnostics.
<- c(
covs "WT//Weight (kg)",
"ALB//Albumin (g/dL)",
"SCR//Creatinine (mg/dL)"
)
8.2 Data used on this page
We are exclusively using a data set that is one row per individual
8.3 Versus continuous [eta_cont]
Grouped by eta
eta_cont(id, x = covs, y = etas[2]) %>%
pm_grid()
Grouped by covariate
eta_cont(id, x = covs[1], y = etas) %>%
pm_grid(ncol = 2)
8.4 By categorical [eta_cat]
eta_cat(id, x = "STUDYc//Study type", y = etas) %>%
pm_grid()
8.5 Histograms [eta_hist]
eta_hist(id, etas, bins = 10) %>%
pm_grid()
8.6 Pairs [eta_pairs]
See also Chapter 10 on making pairs plots.
eta_pairs(id, etas)