null.space.dimension package:mgcv R Documentation _T_h_e _b_a_s_i_s _o_f _t_h_e _s_p_a_c_e _o_f _u_n-_p_e_n_a_l_i_z_e_d _f_u_n_c_t_i_o_n_s _f_o_r _a _T_P_R_S _D_e_s_c_r_i_p_t_i_o_n: The thin plate spline penalties give zero penalty to some functions. The space of these functions is spanned by a set of polynomial terms. 'null.space.dimension' finds the dimension of this space, M, given the number of covariates that the smoother is a function of, d, and the order of the smoothing penalty, m. If m does not satisfy 2m>d then the smallest possible dimension for the null space is found given d and the requirement that the smooth should be visually smooth. _U_s_a_g_e: null.space.dimension(d,m) _A_r_g_u_m_e_n_t_s: d: is a positive integer - the number of variables of which the t.p.s. is a function. m: a non-negative integer giving the order of the penalty functional, or signalling that the default order should be used. _D_e_t_a_i_l_s: Thin plate splines are only visually smooth if the order of the wiggliness penalty, m, satisfies 2m > d+1. If 2m _S_e_e _A_l_s_o: 'tprs' _E_x_a_m_p_l_e_s: null.space.dimension(2,0)