Learn R Programming

spiro (version 0.2.3)

print.spiro: Printing spiro data frames

Description

Printing method for spiro objects that rounds output to two decimals.

Usage

# S3 method for spiro
print(x, round = 2, ...)

Value

The function prints its argument and returns it invisibly.

Arguments

x

A data.frame of the class spiro to be printed.

round

An integer giving the number of decimals to be rounded to.

...

Passing of additional arguments to print.data.frame().

Examples

Run this code
# Get example data
s <- spiro(spiro_example("zan_gxt"))

out <- print(s)
head(out)

Run the code above in your browser using DataLab