3.8 Shortcut Method for AM
Calculate the mean in a smart way
## [1] 1009 1037 1047 1024 1013 1043
Show (click to see)
Subtract a number from all, say 1020
## [1] "The new values are"
## [1] -11 17 27 4 -7 23
## [1] "Mean of y is 8.83"
## [1] "Mean of x is 1028.83"