Learn R Programming

exams.forge (version 1.0.10)

print.html_matrix: Print html_matrix

Description

Prints an HTML matrix content or its components.

Usage

# S3 method for html_matrix
print(x, ..., which = "")

Value

An invisible character matrix.

Arguments

x

an html_matrix object

...

further parameters

which

character: which component to print (default: "")

Examples

Run this code
m <- matrix(1:6, ncol=2)
l <- html_matrix_sk(m, title="1 to 6", fmt=rep("%f",ncol(m)))
print(l, which=NA)      # returns full style information
print(l, which="fmt")   # returns format information
print(l, which="value") # identical to print(l)

Run the code above in your browser using DataLab