do.reorder: do.reorder - custom row re-ordering of a data.table

Description Usage Arguments Author(s) References

View source: R/do.reorder.R

Description

This function allows for a user-defined re-ordering of data.table rows

Usage

1
do.reorder(dat, use.col, new.order)

Arguments

dat

NO DEFAULT. A data.table

use.col

DEFAULT = NULL. The column to use for re-ordering

new.order

DEFAULT = NULL. A vector of row values for the specified column, in the desired order

Author(s)

Thomas M Ashhurst, thomas.ashhurst@sydney.edu.au

References

https://github.com/ImmuneDynamics/Spectre.


sydneycytometry/Spectre documentation built on March 20, 2021, 2:15 a.m.