Learn R Programming

Greg (version 2.0.2)

prCaReorder: 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)

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

Arguments

mtrx2reorder

The matrix to reorder

var_order

The variables representing different rows prMapVariable2Name

order

A vector of strings used for prCaSelectAndOrderVars

See Also

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