Learn R Programming

miceadds (version 2.10-14)

output.format1: R Utilities: Formatting R Output on the R Console

Description

This function does some formatting of output.

Usage

output.format1(stringtype , label , rep.N=1 ,stringlength = 70)

Arguments

stringtype

Type of string for display, e.g. "*", "-", ...

label

Some comment which should be displayed at the console

rep.N

Number of lines which shall be left blank

stringlength

Length of vector with label

Value

Generates a string output at the R console

Examples

Run this code
# NOT RUN {
output.format1(stringtype="*'" , label="HELLO WORLD" , stringlength = 20)
##   *'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'*'
##   HELLO WORLD
# }

Run the code above in your browser using DataLab