strand.suppress {lakhesis}R Documentation

Suppress Element from Strands

Description

Given a list of strands, remove a row or column element and re-run seriation by correspondence analysis with Procrustes fitting (ca.procrustes.curve) to generate a new list of strands that exclude the specified elements. If the resulting strand lacks sufficient points to perform correspondence analysis, that strand is deleted in the output.

Usage

strand.suppress(strands, obj, elements)

Arguments

strands

A list of strands, which are data frames returned by ca.procrustes.curve.

obj

The intial incidence matrix.

elements

A vector of one or more row or column ids to suppress.

Value

A list of the strands.

Examples

data("quattrofontanili")
data("qfStrands")
strand.suppress(qfStrands, quattrofontanili, "QF II 15-16")

strand.suppress(qfStrands, quattrofontanili, c("QF II 15-16", "I", "XIV"))


[Package lakhesis version 0.0.1 Index]