Description Usage Details See Also Examples
This is a show
function for elementary objects. This is just to print the elementary objects in a nice way.
1 2 3 | e_show(object)
remove.show.custom_elemental(class_name)
|
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.
set.custom_elemental
For the arguments that control whether or not an e_show
method is defined when a custom elemental class is defined.
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" )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.