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


Calvagone/campsis documentation built on Nov. 29, 2024, 10:01 p.m.