Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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


formattable

Create 'Formattable' Data Structures

v0.2.1
MIT + file LICENSE
Authors
Kun Ren [aut, cre], Kenton Russell [aut]
Initial release
2021-01-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.