z_normalise: Normalise z values within a gtable object

Description Usage Arguments Details

Description

The z values within a gtable object can be any numeric values. This function will change them to integers (starting from 1), preserving the original order.

Usage

1
z_normalise(x, i = 1)

Arguments

x

A gtable object

i

The z value to start counting up from (default is 1)

Details

Ties are handled by the "first" method: the first occurrence of a value wins.



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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.