Description Usage Arguments Examples
View source: R/dataset_vignette.R
Output a dataset in a vignette with the pre-specified admiral format.
1 | dataset_vignette(dataset, display_vars = NULL, filter = NULL)
|
dataset |
Dataset to output in the vignette |
display_vars |
Variables selected to demonstrate the outcome of the derivation Permitted Values: list of variables Default is NULL If |
filter |
Filter condition The specified condition is applied to the dataset before it is displayed. Permitted Values: a condition |
1 2 3 4 5 6 7 8 | library(admiral)
library(DT)
library(dplyr)
library(admiral.test)
data("dm")
dataset_vignette(dm)
dataset_vignette(dm, display_vars = vars(USUBJID, RFSTDTC, DTHDTC), filter = ARMCD == "Pbo")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.