

splineOrder {splines}                        R Documentation

_D_e_t_e_r_m_i_n_e _t_h_e _O_r_d_e_r _o_f _a _S_p_l_i_n_e

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

     Return the order of a spline object.

_U_s_a_g_e_:

     splineOrder(object)

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

  object: An object that inherits from class `spline'.

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

     The order of a spline is the number of coefficients in
     each piece of the piecewise polynomial representation.
     Thus a cubic spline has order 4.

_V_a_l_u_e_:

     An integer vector of length 1.

_A_u_t_h_o_r_(_s_)_:

     Douglas Bates and Bill Venables

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

     `splineKnots', `interpSpline', `periodicSpline'

_E_x_a_m_p_l_e_s_:

     library( splines )
     data( women )
     splineOrder( interpSpline( weight ~ height, women ) )

