onegcc: compute one Gini correlation coefficient

View source: R/rsgcc.R

onegccR Documentation

compute one Gini correlation coefficient

Description

onegcc calcluates one Gini correlation coefficient with rank information of the first variable.

Usage

	onegcc(x, y)

Arguments

x

a numeric vector.

y

a numeric vector with the same length of x.

Details

This is a generic function cacluating correlation with rank information of the first variable and the actual value information of the second variable.

Value

Gini correlation coefficient (a numeric value ranged from -1.0 to 1.0).

Author(s)

Chuang Ma, Xiangfeng Wang


cma2015/rsgcc documentation built on June 10, 2022, 11:29 a.m.