dot-add_process: Add a Function to a Flow

Description Usage Arguments Value See Also

Description

This function adds another function to a given flow.

Usage

1
2
.add_process(flow, proc, inputs = ifelse(inherits(proc, "function"),
  list(names(formals(proc))), list()), output, ...)

Arguments

flow

(a flow) The flow where to add a new function

proc

(a function) The function itself to be added

inputs

(list) List of the inputs needed for the function to be executed, defaults to the formal arguments of the function, list())

output

(name) The name to assign to the output of the function.

...

extra parameters for the function, allows to parameterize the flow.

Value

The flow with the function added

See Also

add_vertices,add_edges


neuroimaginador/wf4ni documentation built on Oct. 15, 2019, 9:26 a.m.