Learn R Programming

tractor.base (version 3.4.2)

printLabelledValues: 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)

Value

This function is called for its side effect.

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.

Author

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. tools:::Rd_expr_doi("10.18637/jss.v044.i08").

See Also

setOutputLevel for the reportr output level system.