This contains the code used to analyze the data from the scientific paper Gonçalves NG, Suemoto CK and Ferreira NV. Different sources of sugar consumption and cognitive performance in older adults: data from the National Health and Nutrition Examination Survey (NHANES) 2011-2014
If you make use of this code please cite our work.
Order in which files must be followed:
- ReadSASXPORT.R
- BindDatasets.R
- TransposeFoods.R
- ModifyDatset.R
- MergeDataset.R
- Zscore.R
- SurveyExclusion.R
- DescritiveStatistics.R
- LogisticRegressionTotalSugar.R
- LogisticRegressionFoodGroups.R