what is the difference between this lines of code?
mean(x = some_argument)
People typically don't add argument names for commonly used arguments, such as the x in
mean, but almost always refer to the
na.rm arguments when removing missing values.
While neglecting the argument name makes for compact code, here are four (related) reasons for including the names of arguments rather than relying on their position.