Description Usage Arguments See Also Examples
This is a virtual class to be contained in other class definitions. It overrides the default show method and is intended to be used with the aoos class system (defineClass
). The show method will simply look for a method show
defined as member of a class definition.
1 2 | ## S4 method for signature 'Show'
show(object)
|
object |
an object inheriting from |
defineClass
1 2 3 4 5 | ClassWithShowMethod <- defineClass("ClassWithShowMethod", contains = "Show", {
show <- function() print(summary(.self))
})
ClassWithShowMethod()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.