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 JM (1992). “Linear Models.” In Chambers JM, Hastie TJ (eds.), Statistical Models in S, chapter 4. Wadsworth & Brooks/Cole.

See Also

data.frame, formula


[Package base version 4.6.0 Index]