V2_cor: V2_cor

View source: R/V2_cor.R

V2_corR Documentation

V2_cor

Description

This function is used internally to calculate the estimate of the asymptotic variance of the coefficient of variation.

Usage

V2_cor(x, y, method = c("pearson", "kendall", "spearman"), na.rm = FALSE)

Arguments

x

The first vector.

y

The second vector.

method

The correlation method to be used.

na.rm

This parameter controls whether NA values are removed from the data prior to calculation. Default is FALSE.

Value

The estimated asymptotic variance of the calculated coefficient of variation.

Author(s)

Bhargab Chattopadhyay Bhargab@iiitvadodara.ac.in, Ken Kelley kkelley@nd.edu

Examples

x <- c(1:4)
y <- c(2:5)
V2_cor(x,y, method = "pearson")



yelleKneK/SMSD documentation built on Nov. 23, 2022, 6:40 p.m.