Learn R Programming

do (version 2.0.0.1)

cat_n: print vector by lines

Description

print vector by lines

Usage

cat_n(x, n = 3, ind = 0)

Value

print vector by lines

Arguments

x

one vector

n

number if element in each line, default is 3

ind

indentation, default is 0

Examples

Run this code
cat_n(1:10)
cat_n(1:10,ind=3)

Run the code above in your browser using DataLab