Written by Harish Narayanan in 2011 and released into the public domain. See LICENSE for details.
This directory tree holds a simple R script that helps track changes to body parameters (mass, fat, water, muscle) for two people over time. Given a data file, body-data.csv, containing daily recordings of these variables along with suitable goals, running
Rscript body-tracking.R
provides graphs of quantities of interest and information about rates of changes, along with estimates of how long it will take to reach the goals.