apportion | R Documentation |
Chronological Apportioning
apportion(object, ...)
## S4 method for signature 'data.frame'
apportion(
object,
s0,
s1,
t0,
t1,
from = min(s0),
to = max(s1),
step = 25,
method = c("uniform", "truncated"),
z = 2,
progress = getOption("kairos.progress")
)
## S4 method for signature 'matrix'
apportion(
object,
s0,
s1,
t0,
t1,
from = min(s0),
to = max(s1),
step = 25,
method = c("uniform", "truncated"),
z = 2,
progress = getOption("kairos.progress")
)
object |
A |
... |
Currently not used. |
s0 |
A length- |
s1 |
A length- |
t0 |
A length- |
t1 |
A length- |
from |
A length-one |
to |
A length-one |
step |
A length-one |
method |
A |
z |
An |
progress |
A |
A CountApportion
object.
N. Frerebeau
Roberts, J. M., Mills, B. J., Clark, J. J., Haas, W. R., Huntley, D. L. & Trowbridge, M. A. (2012). A Method for Chronological Apportioning of Ceramic Assemblages. Journal of Archaeological Science, 39(5): 1513-20. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.jas.2011.12.022")}.
Other chronological analysis:
fit()
,
plot_fit
## Replication of Roberts et al. 2012
bayless <- matrix(
data = c(4, 333, 11, 11, 13, 1605, 252, 9, 48), nrow = 1,
dimnames = list(c("Bayless"), c("CWW", "CBW", "LMGRW", "LTB", "MMS",
"PBW", "RRW", "SCBW", "TBBW"))
)
## Set ware start and end dates
start <- c(550, 800, 1200, 1150, 1275, 200, 1275, 1200, 750)
end <- c(1325, 1400, 1450, 1300, 1400, 1450, 1450, 1450, 1300)
## Apportion ceramic assemblage under flat/uniform distribution
app <- apportion(bayless, s0 = 1200, s1 = 1350, t0 = start, t1 = end,
step = 50, method = "uniform")
## Apportion ceramic assemblage under truncated standard normal distribution
app <- apportion(bayless, s0 = 1200, s1 = 1350, t0 = start, t1 = end,
step = 50, method = "truncated", z = 2)
## Array of results
head(app)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.