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

View source: R/combinatorics.R

get.pR Documentation

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)

Arguments

n

the number of grains in the detrital sample

f

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

Value

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

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

provenance documentation built on May 29, 2024, 4:23 a.m.