Description Usage Arguments Details Value References Examples
A given population consists of a number of individuals/elements, a certain number of which carry a certain trait. These are referred to as 'cases'. The function creates a series of random subsets from this virtual population by drawing a specified number of individuals/elements, simulating random taphonomic processes. The number of iterations (i.e. draws) can be specified.
1 |
n |
An integer specifying the number of individuals/elements in the population. |
c |
Cases, i.e. the number or portion of individuals/elements carrying
the trait of interest. Depending on the specification of
|
s |
Sample, i.e. the number or portion of individuals/elements in the
population that are to survive taphonomy. Depending on value
specification ( |
i |
Integer specifying the number of iterations. By default, only one sample is drawn. |
value_spec |
The method how |
A vector of length n is created, consisting of values '0' for individuals
not carrying the trait of interest and '1' for cases. For each iteration, a
sample of size s
is drawn from this vector, using the function
sample
.
The number of cases in these samples (c_count) is determined using the
function sum
.
The resulting data can be used for modelling the impact of material preservation on the calculation of frequencies. By adapting the parameters to a real population under study, the model can be applied to specific research projects.
A data frame is returned, giving the specified parameters n
,
c
, s
and i
, and the number of preserved
individuals/elements on which the trait of interest could be observed
(c_count). The rows of the data frame represent the individual iterations.
Waldron T. 1991. Rates for the job: Measures of Disease Frequency in Paleopathology. International Journal of Osteoarchaeology 1(1):17–25.
Waldron T. 2009. Palaeopathology. Cambridge: Cambridge University Press. p. 249-261.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.