View source: R/cor.pearson.r.onesample.simple.R
cor.pearson.r.onesample | R Documentation |
Calculate test of significance for Pearson's Correlation Coefficient.
cor.pearson.r.onesample(
x,
y,
null.hypothesis.rho = 0,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95,
na.rm = T
)
cor.pearson.r.onesample.simple(
sample.r,
sample.size,
null.hypothesis.rho = 0,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95
)
x |
Vector - Variable 1 values |
y |
Vector - Variable 2 values |
null.hypothesis.rho |
Scalar - The assumed value of rho to test the sample correlation coefficient against. |
alternative |
The alternative hypothesis to use for the test computation. |
conf.level |
The confidence level for this test, between 0 and 1. |
sample.r |
Scalar - Sample correlation coefficient. |
sample.size |
Scalar - Sample size to use for the calculation. |
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.