Pretty print labelled information

Share:

Description

This is a simple function to print a series of labels and associated data values, or key-value pairs.

Usage

1
2
printLabelledValues(labels, values, outputLevel = OL$Info,
  leftJustify = FALSE)

Arguments

labels

A character vector of labels.

values

A character vector of values. Must have the same length as labels.

outputLevel

The output level to print the output to. See setOutputLevel, in the reportr package.

leftJustify

Logical value: if TRUE the labels will be left justified; otherwise they will be right justified.

Value

This function is called for its side effect.

Author(s)

Jon Clayden

References

Please cite the following reference when using TractoR in your work:

J.D. Clayden, S. Muñoz Maniega, A.J. Storkey, M.D. King, M.E. Bastin & C.A. Clark (2011). TractoR: Magnetic resonance imaging and tractography with R. Journal of Statistical Software 44(8):1-18. http://www.jstatsoft.org/v44/i08/.

See Also

setOutputLevel for the reportr output level system.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.