cor.conf: Equality of a Pearson's linear correlation coefficient to a...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/cor.conf.R

Description

Performs a test for equality of a Pearson's linear correlation coefficient to a given value.

Usage

1
cor.conf(var1, var2, theo)

Arguments

var1

numeric vector (first variable).

var2

numeric vector (second variable).

theo

theoretical value.

Value

method

a character string giving the name of the test.

data.name

a character string giving the name(s) of the data.

statistic

test statistics.

p.value

p-value of the test.

null.value

the value of the theoretical coefficient.

alternative

a character string describing the alternative hypothesis.

estimate

the estimated correlation coefficient.

Author(s)

Maxime Herv<e9> <[email protected]>

See Also

cor.test

Examples

1
2
3
var1 <- 1:30+rnorm(30,0,4)
var2 <- 1:30+rnorm(30,0,4)
cor.conf(var1,var2,theo=0.5)

RVAideMemoire documentation built on May 14, 2018, 5:07 p.m.