Shiny app of plotly interactive 3D tetrahedron (4-simplex) of time-use of 659 Czech children and adolescents and predicted adiposity measures based on linear compositional regression models.
CL Rasmussen, A Gába, T Stanford, J Dygrýn, D Dumuid, D Janda, and K Hron. The Goldilocks Day for healthy adiposity measures among children and adolescents. Manuscript submitted at Pediatric Obesity the 17th of October 2022.
The following steps will allow you to run the czech_goldilocks Shiny App on your own computer:
- Make sure you have R and RStudio installed.
- Go to the
Codebutton on the top right of this page and then clickDownload zip(see below screenshot). - Unzip the download.
- Double click the
czech_goldilocks.Rprojfile - this should open an RStudio session. - (only has to be performed once) Make sure the prerequisite packages are installed by running the below command in the R console:
install.packages(
c(
"shiny", "shinythemes", "readr",
"dplyr", "plotly", "foreach"
)
)- Now to finally run the Shiny App by running the below command in the R console:
library(shiny)
runApp()The Shiny App is hosted at shinyapps.io to use.
Otherwise, below are some screenshots of the interactive plot.