nice_estimate | R Documentation |
Rounds estimates to 1 decimal place and copies similarly formatted confidence intervals inside brackets.
If you want a really good inline output from a regression model, see Benjamin Nutter's dust_inline
from his package pixiedust
nice_estimate(estimate, lci, uci)
estimate |
An estimate such as a rate ratio |
lci |
The lower confidence interval |
uci |
The upper confidence interval |
A string in format d.d (95% CI: d.d-d.d)
nice_estimate(100.111, 90.0, 110.000002) nice_estimate(0.9, 0.8001, 0.95)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.