text <- if (def_var == "annual") { "* Patients are included into columns depending on the year they started ART - i.e. they represent annual cohorts.\n* Treatment status after receiving 1 year of ART is presented here. " }
Interpreting outcome by follow-up duration
r if (def_var == "annual") text
r if(def_var == "fu") {"* The table demonstrates the rate of attrition from the treatment cohort over time - visually represented in the included plot. "} else if (def_var == "vl") {"* The table demonstrates the durability HIV treatment over time. "}
Form 2 Treatment initiation Début de traitement
r if(def_var %in% c("fu", "annual")) {"> Form 6 Status change HIV_Changement du statut VIH "} else {"> Form 3 Lab virology_lab_virologie "}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.