Learn R Programming

formattable (version 0.2.1)

formattable: Generic function to create formattable object

Description

This function is a generic function to create formattable object, i.e. an object to which a formatting function and related attribute are attached. The object works as ordinary object yet has specially defined behavior as being printed or converted to a string representation.

Usage

formattable(x, ...)

Arguments

x

an object.

...

arguments to be passed to methods.

Value

a formattable object