Description Usage Arguments Value
View source: R/control function.R
method2: control function
1 2 3 4 5 6 7 8 9 10 11 12 13 | control_function(
data,
time,
dow,
temperature,
resid1,
optimal.df1,
optimal.df2,
resid2,
pbl,
ws,
deaths
)
|
data |
Data includes temperature, daily death toll, PM2.5 concentration, time variable, boundary layer height and wind speed. |
time |
Enter the time in a Date format, eg. 2016-01-01. |
dow |
Enter the day of week variable in a factor format, eg. Monday. |
temperature |
Enter the temperature in a numeric format, eg. 12. |
resid1 |
Separation function gets result.You can see the details in Separation.R and README. |
optimal.df1 |
The degrees of freedom of natural spline function with time variable for predicting the deaths in a numeric format, eg. 15. |
optimal.df2 |
The degrees of freedom of natural spline function with temperature for predicting the deaths in a numeric format, eg. 15. |
resid2 |
The residual resid1 and the instrument variables are obtained for support vector regression. |
pbl |
Enter the height of the planetary boundary layer in a numeric format, eg. 302. |
ws |
Enter the wind speed in a numeric format, eg. 0.8. |
deaths |
The daily death toll in a numeric format, eg. 40. |
the health effect of pm2.5 and its 95% CI by bootstrapping of time series.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.