wincor: Compute the Winsorized correlation between x and y.

Description Usage Arguments Value

View source: R/correlation_simplified.R

Description

Simplified version of wincor.test which returns only the correlation coefficient. Called by the bootstrap functions for faster execution.

Usage

1
wincor(x, y, tr = 0.2)

Arguments

x, y

Two vectors of the same length.

tr

The amount of Winsorization (default 0.2).

Value

The correlation coefficient.


GRousselet/bootcorci documentation built on March 6, 2021, 7:13 a.m.