Description Usage Arguments Value
View source: R/predict_cough_variance.R
The format of the regression model used is: variance = exp( b1 *log(mean) + intercept )
.
You can make up the coefficients b1
and intercept
yourself, or generate them
using the function fit_model_to_cough()
. The default values come from a large Hyfe study in northern Spain,
and should produce realistic variance values.
1 | predict_cough_variance(cough_rate, b1 = 1.339539, intercept = 1.90719)
|
cough_rate |
The mean cough rate (coughs per hour) for which you want to predict the variance. |
b1 |
The first coefficient of the model. |
intercept |
The second coefficient of the model. |
The predicted variance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.