Learn R Programming

refineR (version 2.0.0)

alignVec: Helper function to align the content of printed tables

Description

This function aligns vectors by padding with spaces to the right

Usage

alignVec(x, digits = 3)

Value

	(character) vector of aligned values

Arguments

x

(numeric or character) vector of values to be aligned

digits

(integer) number of digits to be displayed for numeric values

Author

Christopher Rank christopher.rank@roche.com