repr.bandicoot_oop | R Documentation |
bandicoot_oop
objectThis function computes the "official" string representation of a
bandicoot_oop
object using the ..repr..()
method.
If it is not applicable, error will be raised.
## S3 method for class 'bandicoot_oop'
repr(x, ...)
x |
|
... |
ignored. |
An integer.
EMAIL <- new_class(class_name = "EMAIL")
email <- EMAIL$instantiate
register_method(EMAIL, ..init.. = function(address) self$address = address)
patrick <- email('patrick@test.com')
repr(patrick)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.