slopeopt                package:fdim                R Documentation

_C_a_l_c_u_l_a_t_i_o_n _o_f _t_h_e _o_p_t_i_m_a_l _s_l_o_p_e _o_f _t_h_e _s_t_r_a_i_g_h_t _l_i_n_e _o_f _r_e_g_r_e_s_s_i_o_n _o_f _t_h_e _p_o_i_n_t_s _r_e_t_u_r_n_e_d _b_y '_f_d_i_m'.

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

       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.

_V_a_l_u_e:

     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.

_A_u_t_h_o_r(_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

_S_e_e _A_l_s_o:

     `introfdim', `fdim', `makefract'

