prCaReorder: Reorder according to the requested variables

View source: R/private_printCaA.R

prCaReorderR Documentation

Reorder according to the requested variables

Description

Uses the prCaSelectAndOrderVars for finding the orders according to the order argument.

Usage

prCaReorder(mtrx2reorder, var_order, order)

Arguments

mtrx2reorder

The matrix to reorder

var_order

The variables representing different rows prMapVariable2Name

order

A vector of strings used for prCaSelectAndOrderVars

Value

matrix Returns the mtrx2reorder rearranged with the attribute "greps" for the greps from prCaSelectAndOrderVars and the attribute "var_order" for the new var_order

See Also

Other printCrudeAndAdjusted functions: prCaAddRefAndStat(), prCaAddReference(), prCaAddUserReferences(), prCaGetImputationCols(), prCaGetRowname(), prCaGetVnStats(), prCaPrepareCrudeAndAdjusted(), prCaReorderReferenceDescribe(), prCaSelectAndOrderVars(), prCaSetRownames()


gforge/Greg documentation built on Feb. 3, 2024, 5:37 a.m.