createsOutput | R Documentation |
Used to specify an output object's name, class, description and other specifications.
createsOutput(objectName, objectClass, desc, ...) ## S4 method for signature 'ANY,ANY,ANY' createsOutput(objectName, objectClass, desc, ...) ## S4 method for signature 'character,character,character' createsOutput(objectName, objectClass, desc, ...)
objectName |
Character string to define the output object's name. |
objectClass |
Character string to specify the output object's class. |
desc |
Text string providing a brief description of the output object.
If there are extra spaces or carriage returns, these will be stripped,
allowing for multi-line character strings without using |
... |
Other specifications of the output object. |
A data.frame
suitable to be passed to outputObjects
in
a module's metadata.
Yong Luo
outputObjects <- bindrows( createsOutput(objectName = "outputObject1", objectClass = "character", desc = "this is for example"), createsOutput(objectName = "outputObject2", objectClass = "numeric", desc = "this is for example", otherInformation = "I am the second output object") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.