sectionfunctions | R Documentation |
An S4 class for functions that operate on sections or their parameters
## S4 method for signature 'sectionfunction' initialize( .Object, fun = function(x) { x }, returnSection = TRUE, frames = integerSet() ) sectionfunction(...) runSectionFunction(input, inputFun, frameNumber)
no convenient ways yet to add sectionfunctions to sections except manually.
fun
the name of a function or an function.
returnSection
logical. If TRUE the function in fun accepts and returns sections. If FALSE it accepts parameters like a normal R function and returns a named list of parameters.
frames
an integerSet object. Controls on which frames the function runs. The default behaviour is that it runs on all frames.
print(1+1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.