Giter VIP home page Giter VIP logo

backpaincoda's Introduction

backpaincoda

Repository containing code and files to generate the supplementary material for the article: "Are reallocations of time between physical activity, sedentary behaviour, and sleep associated with low back pain? A compositional data analysis." [under journal review]

Repository file structure

  • In the top level directory there is:
    • The R analysis script back-pain.R that performs all the pre-processing of the data, the analysis and output of results/figures
    • back-pain.pdf is the supplementary material as a transcript of the R session (code and outputs) to perform the pre-processing of the data, the analysis and output of results/figures
    • The .qmd file back-pain.qmd is the Quarto (Rmarkdown/Jupiter Notebook-esque documents) that generates the corresponding *.pdf document back-pain.pdf
  • dat/ contains the analysis data
  • res/ contains the results used for the time-use reallocation plots/predictions with 95% bootstrapped confidence intervals
  • fig/ contains stand alone, 600 dpi .png images of the time-use reallocation plots/predictions (see example embedded below)

Figures

The generated figures can be found in the fig/ directory.

Figure: Associations of reallocating time between 24-hour movement behaviours with the intensity of low back pain (n = 1660). The analyses were adjusted for age, sex, body mass index, smoking, stress, education, and socio-economic status. SB, sedentary behaviour; LPA, light physical activity; MVPA, moderate-to-vigorous physical activity. Note that absolute difference estimates (% intensity scale) are based upon an 'average' participant in the sample and may will differ for different participant covariates.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.