View source: R/confidence_intervals.R
ci_r | R Documentation |
Creates a confidence interval for the correlation.
ci_r(r, df, fixed = FALSE, conf = 0.95, iter = 50)
r |
The estimated correlation or partial correlation. |
df |
The degrees of freedom. |
fixed |
Specifies whether the variable in the regression model is fixed or random. The default is for random predictor. |
conf |
The desired (1-α) confidence level. Default is .95. |
iter |
Number of iterations for the stochastic approximation optimization. Default is 50. |
Returns the lower and upper endpoints of the confidence interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.