Skip to content

nati1515/finaldata550

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

finaldata550

Code Description

code/01_make_table_1.R

  • read in the simulated data and creates a demographic table
  • saves table as a .rds object in output/ folder

code/02_make_adiposity_graph.R

  • uses adipose tissue measures to track change in adiposity over the course of one year
  • saves a graph as a .png object in output/ folder

code/03_make_android_gynoid_graph.R

  • compares 2 centralized obesity measures and plots on a line graph
  • saves a graph as a .png object in output/ folder

code/04_render_dxa_report.R

  • Renders dxafinalreportt.rmd from the command line.

dxafinalreport.Rmd

  • compiles an html report with the table and graphs provided in the code folder

steps to generate the report

On my local machine, the relative file path starts at "finaldata550". This is the directory that contains the code, output, and clean_simulated_data folders, the makefile and the report. Remotely, this is the finaldata550 repository. In order to generate the report, you must use the makefile to build the report from the command line with the command "make dxafinalreport.html". In order to build this report, you will need to use the outputs from each of the listed scripts above (code/01-4_xyz.R), which can be found in the outputs folder. The code you will use on the commandline is:

Make dxafinalreport.html

Contents of the report

This report contains one table and 2 graphs. The data used is DXA body composition data. This data given is simulated data and is in no way, shape, form representative of any person. Any resemblance to a specific person's measurements is purely coincidental. Table 1 contains demographic statistics. The 1st graph demonstrates the change in overall adipose tissue percentage over 1 year across participants. The last graph stratifies the general trend across participants in central mass adiposity change over a year by key central obesity tendencies(in this case, Android and Gynoid percent fat tissue).

Releases

No releases published

Packages

No packages published

Languages

  • R 96.4%
  • Makefile 3.6%