Learn R Programming

provenance (version 4.4)

get.f: 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)

Value

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

Arguments

n

the number of grains in the detrital sample

p

the required level of confidence

References

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

Examples

Run this code
print(get.f(60))
print(get.f(117))

Run the code above in your browser using DataLab