indentSpaces: Spaces for Indented Output

Description Usage Arguments Value Author(s) Examples

View source: R/PrintFlush.R

Description

Returns a character string containing two times indent spaces.

Usage

1
indentSpaces(indent = 0)

Arguments

indent

Desired level of indentation. The number of returned spaces will be twice this argument.

Value

A character string containing spaces, of length twice indent.

Author(s)

Peter Langfelder, Peter.Langfelder@gmail.com

Examples

1
2
3
4
spaces = indentSpaces(0);
print(paste(spaces, "This output is not indented..."));
spaces = indentSpaces(1);
print(paste(spaces, "...while this one is."))

dynamicTreeCut documentation built on May 2, 2019, 6:12 a.m.