Replacement functions have names in the form of
xxx<- and they modify their arguments in place. Here’s an example.
The following code finds all replacement functions that are also primitive functions in the R base package.
To learn more, read the chapter on functions from Hadley’s book, Advanced R.