slopeopt {fdim}R Documentation

Calculation of the optimal slope of the straight line of regression of the points returned by 'fdim'.

Description

This function obtains the straight line of regression of the introduced points. If this one does not fulfill the criterion of distance of the residuals, the remotest point is eliminated and it becomes to calculate the straight line. So on until the criterion is fulfilled.

Usage

slopeopt(X, Alpha=0.5, Debug=FALSE)

Arguments

X Matrix with the first column for size of cubic elements and the second one for the number of elements with points inside.
Alpha Confidence parameter for distance criteria to the regression linear model.
Debug Boolean parameter setting the level of information to be shown.

Value

slopeopt returns parameters of the regression line.
The subobjects returned by slopeopt are:

IsOk FALSE=Regression straight line not find
points Points used to calculate the regression straight line.

Author(s)

Francisco Javier Martinez de Pison. francisco.martinez@dim.unirioja.es
Joaquin Ordieres Mere. joaquin.ordieres@dim.unirioja.es
Manuel Castejon Limas. manuel.castejon@dim.unirioja.es
Fco. Javier de Cos Juez. francisco-javier.de-cos@dim.unirioja.es

See Also

introfdim, fdim, makefract