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

Description Usage Arguments Value Note Author(s) Examples

View source: R/minmaxLength.R

Description

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

Usage

1
minmaxLength(endpoints)

Arguments

endpoints

dataframe with x and y column

Value

vector of min and max length

Note

February 11 2013

Author(s)

Jono Tuke <simon.tuke@adelaide.edu.au>

Examples

1
2
3
4
x <- c(-1,1)
y <- c(2,2)
endpoints <- data.frame(x=x,y=y)
minmaxLength(endpoints)

Example output

Attaching package: 'catenary'

The following object is masked from 'package:methods':

    Summary

Optim worked
     min      max 
2.000000 4.742063 

catenary documentation built on May 2, 2019, 10:51 a.m.