constant: A function to return a constant at all predictors x.

Description Usage Arguments

Description

A function to return a constant at all predictors x. The predictors are a numeric vector, or a matrix of many predictors (each column a single predictor). This function is useful in modeling, where the name of a function is passed; this allows modeling where a response is a constant across all values of x.

Usage

1
constant(x, param, ...)

Arguments

...

Unused.


forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.