Description Usage Arguments Value Examples
Shiny App for Correspondence Analysis of Adverse Events
1 2 3 4 5 6 7 8 9 |
data |
data.frame or tibble object. |
id |
unquoted expression indicating the
variable name in |
group |
unquoted expression indicating the
variable name in |
ae_grade |
unquoted expression indicating the
variable name in |
ae_domain |
unquoted expression indicating the
variable name in |
ae_term |
unquoted expression indicating the
variable name in |
ae_cycle |
unquoted expression indicating the
variable name in |
an interactive web application to perform correspondence analysis for adverse event data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
library(magrittr)
library(dplyr)
patient_id <- 1:100
group <- c(rep("A", 50), rep("B", 50))
ae_grade <- sample(1:5, size = 100, replace = TRUE)
ae_domain <- sample(c("C", "D"), size = 100, replace = TRUE)
ae_term <- sample(c("E", "F", "G", "H"), size = 100, replace = TRUE)
dt <- tibble(patient_id = patient_id, trt = group,
ae_g = ae_grade, ae_d = ae_domain, ae_t = ae_term)
dt %>% run_ca(., group = trt,
id = patient_id,
ae_grade = ae_g,
ae_domain = ae_d,
ae_term = ae_t)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.