Learn R Programming

bulletr (version 0.1)

predCircle: Estimate predictions and residuals for a circle fit of x and y

Description

estimate a circle, find predictive values and resiudals. depending on specification, vertical (regular) residuals or orthogonal residuals are computed.

Usage

predCircle(x, y, resid.method = "response")

Arguments

x
vector of numeric values
y
vector of numeric values
resid.method
character, one of "response" or "ortho"(gonal)

Value

data frame with predictions and residuals