Articles by Kangjie Zhang

Rounding

August 21, 2023 | Kangjie Zhang

Rounding methods Both SAS and base R have the function round(), which rounds the input to the specified number of decimal places. However, they use different approaches when rounding off a 5: SAS round() rounds half up. This is the most comm... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)