e_show: Show an elementary object

Description Usage Details See Also Examples

Description

This is a show function for elementary objects. This is just to print the elementary objects in a nice way.

Usage

1
2
3

Details

For each elemental object, there exists a method that calls the e_show function. For custom elementary objects, the e_show method is defined when the custom elementary object is defined.

The e_show for a specific elemental object can be removed by calling remove.X.show function (where 'X' is the elemental class) that comes with the specific elemental object. See the documentation for the particular custom elemental object for more information.

If one wishes to remove the e_show from a custom elemental object, then one may us the remove.custom_elemental.show function.

See Also

set.custom_elemental For the arguments that control whether or not an e_show method is defined when a custom elemental class is defined.

Examples

1
2
3
4
5
# Make a show method for the \code{DOR} class from scratch.
setMethod( "show", signature( object = "DOR" ), function( object ) e_show( object ) )
# If a custom elemental object is made, the "show" method is automatically defined.
# Remove the custom show method.
remove.show.custom_elemental( "DOR" )

Don-Li/CAB_original documentation built on May 6, 2019, 2:53 p.m.