This is just a wrapper of funlist using min

minlist(alist, na.rm = FALSE)

Arguments

alist

a list

na.rm

logical indicating whether missing values should be removed

Value

the minimum

Author

Gaston Sanchez

See also

Examples

# say you have some list
list1 = list(1:5, runif(3), rnorm(4))

# get the min of all elements in list1
minlist(list1)
#> [1] -0.649391

# 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)
#> [1] -1.039861