In R, type the call that rounds 511.6667 to two decimals, naming the digits argument.
In R, type the call that rounds 511.6667 to two decimals, naming the digits argument.
Answer
round(511.6667, digits = 2)
Prints [1] 511.67. Named, the arguments can go in any order: round(digits = 2, x = 511.6667) is the same call. The default digits = 0 would give 512.