Print Data

Share:

Description

Prints a data object according to the specified size.

Usage

1
ULPrint(aData, nRows=10, nCols=10, Title="")

Arguments

aData

data

nRows

no. of rows to print

nCols

no. of cols to print

Title

title of output

Value

aData is printed according to nRows and nCols

Author(s)

Knut M. Wittkowski kmw@rockefeller.edu

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
   matrixA <- matrix(1:100, nrow=100, ncol=100)
   ULPrint(matrixA)
   #   [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
 # [1,]    1    1    1    1    1    1    1    1    1     1
 # [2,]    2    2    2    2    2    2    2    2    2     2
 # [3,]    3    3    3    3    3    3    3    3    3     3
 # [4,]    4    4    4    4    4    4    4    4    4     4
 # [5,]    5    5    5    5    5    5    5    5    5     5
 # [6,]    6    6    6    6    6    6    6    6    6     6
 # [7,]    7    7    7    7    7    7    7    7    7     7
 # [8,]    8    8    8    8    8    8    8    8    8     8
 # [9,]    9    9    9    9    9    9    9    9    9     9
 # [10,]   10   10   10   10   10   10   10   10   10    10
 # ...