get.f: Calculate the largest fraction that is likely to be missed

View source: R/combinatorics.R

get.fR Documentation

Calculate the largest fraction that is likely to be missed

Description

For a given sample size, returns the largest fraction which has been sampled with (1-p) x 100 % likelihood.

Usage

get.f(n, p = 0.05)

Arguments

n

the number of grains in the detrital sample

p

the required level of confidence

Value

the largest fraction that is sampled with at least (1-p) x 100% certainty

References

Vermeesch, Pieter. "How many grains are needed for a provenance study?" Earth and Planetary Science Letters 224.3 (2004): 441-451.

Examples

print(get.f(60))
print(get.f(117))

provenance documentation built on Aug. 28, 2023, 5:07 p.m.