findrank: Function to return the rank of a given value

Description Usage Arguments Value Examples

View source: R/RProjects/HITHATStats/R/findrank.R View source: R/findrank.R View source: R/standalone_scripts/stats_observed.r

Description

This function accepts the number of values in a data set and the desired percentile and then calculates the rank

Usage

1
  findrank(n, p)

Arguments

n

number of values in a data set

p

percentile desired

Value

findrank numeric giving the position in the data set of the percentile

Examples

1
2
3
n<-365
p<-0.05
findrank(n, p)

jlthomps/EflowStats documentation built on May 19, 2019, 12:48 p.m.