boundsKendallStar: boundsKendallStar

Description Usage Arguments Value Examples

View source: R/DCARS.R

Description

The boundsKendallStar function calculates the upper and lower bounds the weighted zero-inflated Kendall's tau star association measure, given a matrix containing a number of weights.

Usage

1
boundsKendallStar(x, y, W = 1)

Arguments

x

data vector

y

data vector

W

weight matrix, number of columns correspond to length of x and y.

Value

list list with two objects named "upper" and "lower", vectors of upper and lower bounds on the association measure

Examples

1
2
3
4
5
x = pmax(0,rnorm(100))
y = pmax(0,rnorm(100))
w = runif(100)
wcor = weightedKendallStar(x,y,w)
boundsKendallStar(x,y,w)

shazanfar/DCARS documentation built on Oct. 14, 2020, 11:11 a.m.