knitr::opts_chunk$set( collapse = TRUE, comment = "." )
The data inventory table counts subjects and observations in your data set. It will also tally missing or BQL observations.
library(pmtables) library(dplyr) all <- pmtables:::data("obs") pk <- filter(all, SEQ==1)
A summary of PK data by study
pt_data_inventory(pk, by = vars(Study = STUDYf))
We can also panel this summary by another covariate
pt_data_inventory( pk, by = vars(Study = STUDYf), panel = vars("Renal function" = RFf) )
Use this when you want to have a single table that summarizes different endpoints. This is a paneled summary where each panel is a summary only of what is in that panel.
pt_data_inventory( all, panel = vars(Endpoint = SEQf), by = vars("Study" = STUDYf), stacked = TRUE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.