不能运行data("NHANES_20072008"),提示Warning message: In data("NHANES_20072008") : 没有‘NHANES_20072008’这个数据集 #231
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
data("NHANES_20072008") only works if the data is available within the dietaryindex package. If you download and load the data, there is no need to use the "data" function. You're using the wrong NHANES datasets for the DASH function, which requires individual NHANES files. I updated the readme page as below: (https://github.com/jamesjiadazhan/dietaryindex). Please check the difference between NHANES files and what the DASH function requires. Let me know if you have other questions. If possible, please give our work a Star on GitHub and cite our work when you publish the work. It helps recognize and appreciate our intellectual efforts and contributions.
|
Beta Was this translation helpful? Give feedback.
data("NHANES_20072008") only works if the data is available within the dietaryindex package. If you download and load the data, there is no need to use the "data" function.
You're using the wrong NHANES datasets for the DASH function, which requires individual NHANES files. I updated the readme page as below: (https://github.com/jamesjiadazhan/dietaryindex). Please check the difference between NHANES files and what the DASH function requires.
Let me know if you have other questions. If possible, please give our work a Star on GitHub and cite our work when you publish the work. It helps recognize and appreciate our intellectual efforts and contributions.