Description Value Public slots Private slots Examples
Defines the struct class base template. This class is inherited by other objects and not intended for direct use. It defines slots and methods common to all struct objects.
Returns a struct object
Public slots can be accessed using shorthand $ notation and are intended for users building workflows.
name
character()
A short descriptive name of the struct object
description
character()
A longer description of the struct object and what it does
type
character()
A keyword that describes the type of struct object
libraries
character()
A (read only) list of R packages used by this struct object
citations
list of bibentry
A (read only) list of citations relevant to this struct object,
in Bibtex format.
Private slots are not readily accessible to users and are intended for developers creating their own struct objects. Any slot not listed within '.params' or '.outputs' is considered a private slot.
.params
character()
A list of additional slot names that can be get/set by the user
for a specific struct object. These are used as input parameters for different methods.
.outputs
character()
a list of additional slot names that can be get by the user. These are
used to store the results of a method.
1 | S = struct_class(name = 'Example',description = 'An example object')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.