new_struct | R Documentation |
This function creates a newly allocated object from the class identified by
the first argument. It works almost identically to new
but is specific
to objects from the struct package and ensures that entity
slots have
their values assigned correctly. This function is usually called by class
constructors and not used directly.
new_struct(class, ...)
class |
The class of struct object to create |
... |
named slots and values to assign |
An object derived from struct_class
S = new_struct('struct_class')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.