bootHyperbola: A Function to Attempt a Crude Fit of Data to a Hyperbola

View source: R/boothyp.r

bootHyperbolaR Documentation

A Function to Attempt a Crude Fit of Data to a Hyperbola

Description

This function is not intended for direct use. It attempts to generate an approximate fit of a data set to a hyperbola, returning a parameter set for use in intializing the main function conicFit .

Usage

bootHyperbola(x, y = NULL, maxiter = 10000, ...)

Arguments

x

vector of x-values, or a Nx2 array of x and y values. In the latter case, the input y is ignored.

y

vector of y-values.

maxiter

A 'safety' limiter on the number of iterations to try before giving up.

...

possible other arguments to be passed to future upgrades

Value

parA

the new 6-parameter set defining the non-rotated conic.

parAr

the new 6-parameter set defining the rotated conic.

theta

the angle of rotation between ParA and ParAr

fitdat

the information returned from optim

Author(s)

Carl Witthoft, carl@witthoft.com

See Also

fitConic


fitConic documentation built on Aug. 29, 2023, 1:12 a.m.