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

formattable(x, ...)

Arguments

x

an object.

...

arguments to be passed to methods.

Value

a formattable object