Online training class for Clinical R programming batch starts on Monday, 02Feb2026.
Click here for details.
round_demo <- tribble( ~value,
3.1416,
2.718,
9.99,
1.5,
-4.75 )
round_results <- round_demo %>%
mutate(
round_val = round(value),
round_dec = round(value,2),
ceil_val = ceiling(value),
floor_val = floor(value)
) round_demo <- data.frame(
value = c(3.1416, 2.718, 9.99, 1.5, -4.75)
, stringsAsFactors = FALSE
)
round_results <- round_demo
round_results$round_val <- round(round_results$value)
round_results$round_dec <- round(round_results$value, 2)
round_results$ceil_val <- ceiling(round_results$value)
round_results$floor_val <- floor(round_results$value)