David Galbraith
13 November 2016
The BodyCalc application was developed with several goals in mind:
There are a number of calculations available to provide an estimate of a body mass index. This index represents an attempt to quantify the amount of tissue mass in an individual and then categorize the individual as a member of a broad population based on this value.
Concerns have been identified as to the effectiveness of using the basic BMI and a number of alternative approaches have been identified.
A number of approaches have been implemented and are accessible to provide for direct comparisons:
No external data is required to facilitate BodyCalc operation.
Once a calculation type is selected the interface is dynamically customized to capture relevant data which includes variously:
calculators <- c("Body Mass Index",
"Body Mass Index Prime",
"A Body Shape Index",
"Surface-based Body Shape Index"
)
A total of 4 Body Mass Calculators have been implemented. These are:
The ratio of a persons height to their mass squared. \[ BMI = weight / height ^ 2 \]
BMI Prime is a modification of the BMI system and is the ratio of actual BMI to upper limit BMI (currently defined at BMI 25)
\[ \begin{aligned} BMI' = (weight / height ^ 2) / 25 \end{aligned} \]
An index which defines body composition through waist circumference adjusted for weight and height.
\[ \begin{aligned} absi &= wc / ( BMI^\frac{2}{3} * \sqrt height )\\ wc &= waist\ circumference\ in\ meters\\ BMI &= Body\ Mass\ Index\\ \end{aligned} \]
An index which defines body composition through surface area adjusted for weight and height.
\[ \begin{aligned} sbsi &= (height^\frac{7}{4} * wc^\frac{5}{6} / (bsa * vtc)\\ wc &= waist\ circumference\ in\ meters\\ bsa &= body\ surface\ area\\ vtc &= vertical\ trunk\ circumference\\ \end{aligned} \]
The app developed for the first part of the assignment is avalilable at: https://djdgalbraith.shinyapps.io/BodyCalc/
Source code for ui.R and server.R files are available on GitHub: https://github.com/djdgalbraith/cjhdss/tree/master/Developing%20Data%20Products/Project/
Source for the Rstudio Presenter pitch is available on GitHub: https://github.com/djdgalbraith/cjhdss/tree/master/Developing%20Data%20Products/Project/Pitch/BodyMassCalculatorsPitch.Rpres
The presentation can be viewed on RPub: http://rpubs.com/djdgalbraith/BodyCalc/