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

Description Usage Arguments Value References Examples

View source: R/toolbox.R

Description

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

Usage

1
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

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

provenance documentation built on May 5, 2021, 1:06 a.m.