slopeopt {fdim} | R Documentation |
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.
slopeopt(X, Alpha=0.5, Debug=FALSE)
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. |
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. |
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