Description Usage Arguments Value Examples
Make a shiny app from a dataset
1 | build_shiny_app(dataset, covariates, outcome_var, data_dictionary = NULL)
|
dataset |
|
covariates |
|
outcome_var |
|
data_dictionary |
This function allows you to build a shiny app for a dataset. For more info, please see the "Making a Burro App" vignette. |
shiny app in a folder
1 2 3 4 5 6 7 8 | #create a new project/folder in RStudio before you run this
library(ggplot2)
data(diamonds)
covars <- colnames(diamonds)
if(interactive()){
burro::build_shiny_app(dataset=diamonds,
covariates=covars, outcome_var="cut")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.