Learn R Programming

muStat (version 1.7.0)

ULPrint: Print Data

Description

Prints a data object according to the specified size.

Usage

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

Examples

Run this code
   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
 # ...

Run the code above in your browser using DataLab