Id: An identity function which vanishes upon concatenation of fns

Description Usage Value Examples

View source: R/prediction.R

Description

An identity function which vanishes upon concatenation of fns

Usage

1
Id()

Value

fn of class idfn

Examples

1
2
3
4
5
6
7
x <- Xt()
id <- Id()

(id*x)(1:10, pars = c(a = 1))
(x*id)(1:10, pars = c(a = 1))
str(id*x)
str(x*id)

dMod documentation built on Jan. 27, 2021, 1:07 a.m.