prCaReorder: Reorder according to the requested variables

Description Usage Arguments Value See Also

View source: R/private_printCaA.R

Description

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

Usage

1
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, printCrudeAndAdjustedModel


Greg documentation built on May 29, 2017, 11:22 a.m.

Search within the Greg package
Search all R packages, documentation and source code