.StatusToMatrix {Quartet} | R Documentation |
Status vector to matrix
Description
Converts a vector to a matrix that can be analysed by the DoNotConflict()
function family.
Usage
.StatusToMatrix(statusVector)
.StatusToArray(status)
Arguments
statusVector |
Either (i) a named vector of integers, with
names |
status |
A named three-dimensional array of integers, with slices
named |
Value
A matrix, containing the input columns plus 2d
, representing
either 2 * d
or d1 + d2
, and row names.
The row name means that column names are dropped in
the output of DoNotConflict
etc.
A three-dimensional array containing a slice labelled 2d
,
equivalent to either d + d
or d1 + d2
as appropriate.
Author(s)
Martin R. Smith (martin.smith@durham.ac.uk)
Examples
data("sq_trees")
.StatusToArray(ManyToManyQuartetAgreement(sq_trees[5:7]))
[Package Quartet version 1.2.7 Index]