Learn R Programming

catenary (version 1.1.2)

fitCat: Get catenary parameters for given endpoints and length

Description

Takes endpoints in data frame and length and returns parameters of catenary

Usage

fitCat(endpoints, L)

Arguments

endpoints

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

L

length

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)
L <- 3
fitCat(endpoints,L)
# }

Run the code above in your browser using DataLab