pxgta: Proportion of observations greater than a specified value

View source: R/stats.R

pxgtaR Documentation

Proportion of observations greater than a specified value

Description

For a vector x, return the proportion of observations greater than a specified value a: P(X>a). Also return the complementary proportions P(X<a) and P(X=a).

Usage

pxgta(x, a = 0)

Arguments

x

A numeric vector

a

Value for comparison - default = 0

Value

A list of 3 elements:

  • P(X>a)

  • P(X=a)

  • P(X<a)

Note

From Rallfun-v32.txt - see https://github.com/nicebread/WRS/

See Also

adapted from cid


GRousselet/rogme documentation built on Nov. 12, 2022, 4:38 a.m.