A generic method for casting objects to a format. Individual objects will inherit from this function.

as.fmt(x)

Arguments

x

The object to cast.

Value

A formatting object, created using the information in the input object.