
Last chance! 50% off unlimited learning
Sale ends in
Takes data frame giving endpoints and return min length and max length before hits the ground
minmaxLength(endpoints)
dataframe with x and y column
vector of min and max length
# NOT RUN {
x <- c(-1,1)
y <- c(2,2)
endpoints <- data.frame(x=x,y=y)
minmaxLength(endpoints)
# }
Run the code above in your browser using DataLab