indentSpaces {dynamicTreeCut}R Documentation

Spaces for Indented Output

Description

Returns a character string containing two times indent spaces.

Usage

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

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

[Package dynamicTreeCut version 1.63-1 Index]