const {arpr}R Documentation

Create a constant function

Description

Create a constant function

Usage

const(val = NULL)

Arguments

val

return value of constant function (defaults to NULL)

Value

A function always returning val accepting arbitrary arguments (dots)


[Package arpr version 0.1.1 Index]