Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


catenary (version 1.1.2)

minmaxLength: Given two endpoints gives max and min length of catenary joining them

Description

Takes data frame giving endpoints and return min length and max length before hits the ground

Usage

minmaxLength(endpoints)

Arguments

endpoints

dataframe with x and y column

Value

vector of min and max length

Examples

Run this code
# 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