Learn R Programming

provenance (version 4.4)

get.p: Calculate the probability of missing a given population fraction

Description

For a given sample size, returns the likelihood of missing any fraction greater than a given size

Usage

get.p(n, f = 0.05)

Value

the probability that all n grains in the sample have missed at least one fraction of size f

Arguments

n

the number of grains in the detrital sample

f

the size of the smallest resolvable fraction (0<f<1)

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.p(60))
print(get.p(117))

Run the code above in your browser using DataLab