View source: R/cor.point.biserial.R
cor.point.biserial | R Documentation |
Calculate the point biserial correlation coefficient, a correlation between a binary variable and a continuous measure.
cor.point.biserial(
discrete_var,
continuous_var,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95
)
discrete_var |
A vector of values corresponding to the discrete/nominal variable |
continuous_var |
A vector of values corresponding to the continuous variable |
alternative |
Alternative hypothesis directionality |
conf.level |
Confidence level for calculating confidence intervals |
Hypothesis test result showing results of test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.