Learn R Programming

phylosignal (version 1.3.1)

.orderGrArg: Reordering vector or matrix of settings.

Description

Internal function of multiplot.phylo4d. Reordering vector or matrix of settings and check for names consistencies.

Usage

.orderGrArg(x, n.tips, n.traits, new.order, tips, default)

Value

An ordered vector or matrix. An error if problem of consistency.

Arguments

x

a vector or a matrix to order.

n.tips

number of tips.

n.traits

number of traits

new.order

a numeric vector giving the new order.

tips

a character vector giving the tips labels (with the new order)

default

the default value