Description Usage Arguments Value Author(s) Examples
This function helps you to evaluate your health status
1 2 | health_status(data = annual_aqi, cbsa, year, smoke = 1, exercise = 1,
gene = 1)
|
data |
Dataset to use for analysing health status. |
cbsa |
A CBSA in US. |
year |
A numeric. Year in which you want to analyze the air quality. |
smoke |
Whether people smoke or not, equal to -1 if you smoke, else is 1. Default is 1. |
exercise |
Whether people has certain exercise every day, equal to -1 if you don't, else is 1. Default is 1. |
gene |
Whether people has certain gene may cause disease happen,equal to -1 for bad gene or 1 for good gene. Default is 1. |
Return which kind of health status you are in. Healthy, sub healthy or unhealthy?
Yiquan Xu
1 | health_status(cbsa = "Ames, IA", year = 2008)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.