# Roger Palay copyright 2021-06-09 # Saline, MI 48176 # # in the find_percentile function: # items is a list of the items # goal is a is a value where we want to find the # percentile of that value in the list find_percentile <- function( items,goal) { length_of_list <- length( items ) if ( length_of_list == 0 ) { return("Cannot find percentile for empty list")} length_less_than <- length( items[items