weighted_right_tail_cdf: Weighted Right-Tail Cumulative Distribution Function

Description Usage Arguments Examples

View source: R/SkeweDF_functions.R

Description

This function generates a vector of the weighted right-tail cumulative distribution function of a given vector of values. The weight of of each variable is determined by its position in the vector. For example, with a vector of length 5, element 5 will have weight 5/(5+4+3+2+1). Element 1 will have weight 1/(5+4+3+2+1)

Usage

1

Arguments

x

Length of vector to be generated.

Examples

1
2
x <- c(1,2,3,4,5)
weighted_right_tail_cdf(x)

SkeweDF documentation built on Jan. 16, 2021, 5:38 p.m.