# say you have some list
list1 = list(1:5, runif(3), rnorm(4))
# get the min of all elements in list1
minlist(list1)
# say you have missing data
list2 = list(c(1:4, NA), runif(3), rnorm(4))
# get the min of all elements in list2 removing NAs
minlist(list2, na.rm=TRUE)
Run the code above in your browser using DataLab