print.mlth.data.frame: Print Multi-Header Data Frame

View source: R/print.R

print.mlth.data.frameR Documentation

Print Multi-Header Data Frame

Description

The method to print a mlth.data.frame object.

Usage

## S3 method for class 'mlth.data.frame'
print(x, digits = NULL, justify = "left")

Arguments

x

a mlth.data.frame object.

digits

number of digits after decimal point (default NULL, same as for print.data.frame). The value is passed to format when printing the values, work the same way as for data.frame.

justify

justify header left, right or centre (default 'left', same as 'none').

Examples

(L <- mlth(X = c('A', 'B', 'C'),
		        Y = list(N = 1:3, M = 4:6)))

print(L, justify = 'centre')

M <- mlth(A = rnorm(10),
		       B=list(C = rnorm(10), D = rnorm(10)))


IvanVoronin/mlth.data.frame documentation built on Jan. 31, 2024, 10:13 a.m.