AsIs {base}R Documentation

Inhibit Interpretation/Conversion of Objects

Description

Change the class of an object to indicate that it should be treated “as is”.

Usage

I(x)

Arguments

x an object

Details

Function I has two main uses.

Value

A copy of the object with class "AsIs" prepended to the class(es).

References

Chambers, J. M. (1992) Linear models. Chapter 4 of Statistical Models in S eds J. M. Chambers and T. J. Hastie, Wadsworth & Brooks/Cole.

See Also

data.frame, formula


[Package Contents]