Outfun: Create a new output function

View source: R/outfun.R

OutfunR Documentation

Create a new output function

Description

Create a new output function

Usage

Outfun(
  fun = function(x, ...) {
     x
 },
  args = list(),
  packages = NULL,
  level = "scenario"
)

Arguments

fun

function or purrr-style lambda formula, first argument 'x' must be the results

args

extra arguments, named list

packages

packages that must be loaded to execute the given function, character vector

level

either 'scenario' or 'replicate'. Default is 'scenario'.

Value

an output function


campsis documentation built on Sept. 11, 2024, 7:18 p.m.