Description Objects from the Class Slots Methods Examples
A simple demonstration of how to write a S4 class.
Objects can be created by calls of the form new("CBook", ...)
.
title
:Object of class "character"
~~
author
:Object of class "character"
~~
year
:Object of class "numeric"
~~
signature(object = "CBook")
: ...
signature(from = "CBook", to = "list")
: ...
signature(object = "CBook")
: ...
signature(x = "CBook")
: ...
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.