create.block: Create a block object

View source: R/nmap-block.R

create.blockR Documentation

Create a block object

Description

Block objects allow for easy maniputlation of dataflow. Each block object is given an input, output, and function. The input represents where the block's inputs come from (NULL if none). The output represents where the block's outputs go to (NULL if none). The callback function is the actual manipulation of data.

Usage

create.block(
  block.name,
  callback = function(l) {
     return(l)
 }
)

Arguments

block.name

Name of block

callback

callback function (Feed-forward pass-through if none)

Value

block object


PennStateDEPENdLab/experiment_pipeline documentation built on Nov. 27, 2024, 4:56 a.m.