This tutorial shows how to apply the max and min functions in R. More details: https://statisticsglobe.com/r-max-min...
The example R code of this video can be found below:
Example 1
x1 <- c(4, 1, - 50, 20, 8) # Create example vector
max(x1) # Apply max to vector
min(x1) # Apply min to vector
Example 2
x2 <- c(x1, NA) # Create example vector with NA
max(x2) # max returns NA
max(x2, na.rm = TRUE) # Specify na.rm = TRUE
min(x2, na.rm = TRUE) # Specify na.rm = TRUE
On this page of the site you can watch the video online max and min R Functions (2 Programming Examples) | Maximum & Minimum with a duration of hours minute second in good quality, which was uploaded by the user Statistics Globe 25 July 2019, share the link with friends and acquaintances, this video has already been watched 8,946 times on youtube and it was liked by 45 viewers. Enjoy your viewing!