safer_partialmatch {tinycodet} | R Documentation |
Set Safer Dollar, Arguments, and Attribute Matching
Description
The safer_partialmatch()
function simply calls the following:
options( warnPartialMatchDollar = TRUE, warnPartialMatchArgs = TRUE, warnPartialMatchAttr = TRUE )
Thus it forces 'R' to give a warning when partial matching occurs when using
the dollar ($) operator,
or when other forms of partial matching occurs.
The safer_partialmatch()
function
is intended for when running R interactively
(see interactive).
Usage
safer_partialmatch()
Value
Sets the options. Returns nothing.
See Also
Examples
interactive()
safer_partialmatch()
data(iris)
head(iris)
iris$Sepal.Length <- iris$Sepal.Length^2
head(iris)
[Package tinycodet version 0.5.3 Index]