Learn R Programming

functools (version 0.2.0)

Identity: Identity

Description

Identity() returns itself.

Usage

Identity(x)

Arguments

x
an object.

Value

the object.

See Also

Other constants: False; Na; Null; True

Examples

Run this code
# Return itself:
Identity(5)
Identity(mean)
Identity(lm(data = mtcars, mpg ~ cyl))

Run the code above in your browser using DataLab