powered by
Takes endpoints in data frame and returns parameters of max catenary
fitMaxCat(endpoints)
2x2 data frame with first column x second column is y
vector of parameters
# 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