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

View source: R/do.reorder.R

do.reorderR Documentation

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

Description

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

Usage

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.


ImmuneDynamics/Spectre documentation built on Nov. 12, 2023, 8:12 a.m.