Learn R Programming

catenary (version 1.1.2)

fitMaxCat: Get catenary parameters for given endpoints

Description

Takes endpoints in data frame and returns parameters of max catenary

Usage

fitMaxCat(endpoints)

Arguments

endpoints

2x2 data frame with first column x second column is y

Value

vector of parameters

Examples

Run this code
# NOT RUN {
x <- c(-1,1)
y <- c(2,2)
endpoints <- data.frame(x=x,y=y)
fitMaxCat(endpoints)
# }

Run the code above in your browser using DataLab