indentPrint: Print with Line Indentation

View source: R/qvcalc.R

indentPrintR Documentation

Print with Line Indentation

Description

Same as print, but adds a specified amount of white space at the start of each printed line

Usage

indentPrint(object, indent = 4, ...)

Arguments

object

any printable object

indent

a non-negative integer, the number of spaces to insert

...

other arguments to pass to print

Value

object is returned invisibly

Author(s)

David Firth, d.firth@warwick.ac.uk

Examples


indentPrint("this indented by 10 spaces", indent=10)


DavidFirth/qvcalc documentation built on Jan. 27, 2025, 9:03 p.m.