Takes two parameters, a list and a number, returns the number of items given from the list starting at the beginning. > List <- c("a","b","c", "d", "e") > head(list, 2) > "a" "b"
Takes two parameters, a list and a number, returns the number of items given from the list starting at the beginning.