printLabelledValues: Pretty print labelled information

printLabelledValuesR Documentation

Pretty print labelled information

Description

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

Usage

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. https://www.jstatsoft.org/v44/i08/.

See Also

setOutputLevel for the reportr output level system.


tractor.base documentation built on Aug. 24, 2022, 5:06 p.m.