seriate_rank | R Documentation |
Reciprocal Ranking Seriation
seriate_rank(object, ...)
## S4 method for signature 'data.frame'
seriate_rank(object, EPPM = FALSE, margin = c(1, 2), stop = 100)
## S4 method for signature 'matrix'
seriate_rank(object, EPPM = FALSE, margin = c(1, 2), stop = 100)
object |
A |
... |
Currently not used. |
EPPM |
A |
margin |
A |
stop |
An |
This procedure iteratively rearrange rows and/or columns according to their weighted rank in the data matrix until convergence.
Note that this procedure could enter into an infinite loop. If no convergence is reached before the maximum number of iterations, it stops with a warning.
A RankPermutationOrder object.
N. Frerebeau
Desachy, B. (2004). Le sériographe EPPM: un outil informatisé de sériation graphique pour tableaux de comptages. Revue archéologique de Picardie, 3(1), 39-56. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.3406/pica.2004.2396")}.
Dunnell, R. C. (1970). Seriation Method and Its Evaluation. American Antiquity, 35(03), 305-319. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2307/278341")}.
Ihm, P. (2005). A Contribution to the History of Seriation in Archaeology. In C. Weihs & W. Gaul (Eds.), Classification: The Ubiquitous Challenge. Berlin Heidelberg: Springer, p. 307-316. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/3-540-28084-7_34")}.
Other seriation methods:
as_seriation()
,
assess()
,
order()
,
permute()
,
refine()
,
seriate_average()
## Replicates Desachy 2004 results
data("compiegne", package = "folio")
## Get seriation order for columns on EPPM using the reciprocal averaging method
## Expected column order: N, A, C, K, P, L, B, E, I, M, D, G, O, J, F, H
(indices <- seriate_rank(compiegne, EPPM = TRUE, margin = 2))
## Get permutation order
order_rows(indices)
order_columns(indices)
## Permute columns
(new <- permute(compiegne, indices))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.