View source: R/helper-methods.R
new_with_repaired_slots | R Documentation |
Instantiate a class, but warn rather than error for badly named slots
new_with_repaired_slots(classname, ..., extra)
classname |
'character' naming a class |
... |
slots in 'classname' |
extra |
named list giving other slots in 'classname' |
'new(classname)'
MAST:::new_with_repaired_slots("SimpleList", listData = list(x = LETTERS),
extra = list(elementType = 'character', food = "tasty", beer = "cold"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.