getKnots                 package:plw                 R Documentation

_S_p_l_i_n_e-_k_n_o_t_s _f_o_r _p_l_w _a_n_d _l_m_w

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

     Computes a set of nKnots interior knots( if possible) plus 2
     boundary knots so that:

     1) the nOut smallest and highest data points (in x) lies below and
     above the lower and upper boundary knots respectively.

     2) there is at least nIn data points between all knots.

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

     getKnots(x,nKnots=10,nOut=2000,nIn=4000)

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

       x: Data vector

  nKnots: Number of interior knots

    nOut: Number of data points below and above the lower and upper
          boundary knots respectively.

     nIn: Number of data points between knots.

_D_e_t_a_i_l_s:

     See the definition (R-code) for details.

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

     A vector of knots.

_A_u_t_h_o_r(_s):

     Magnus Astrand

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

     plw, lmw, estimateSigmaMVbeta

