fp                    package:mfp                    R Documentation

_F_r_a_c_t_i_o_n_a_l _P_o_l_y_n_o_m_i_a_l _T_r_a_n_s_f_o_r_m_a_t_i_o_n

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

     This function defines a fractional polynomial object for an input
     variable x.

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

     fp(x, df = 4, select = NA, alpha = NA, scale=TRUE)

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

       x: input variable.

      df: degrees of freedom of the FP model.  df=4: FP model with
          maximum permitted degree m=2, df=2: FP model with maximum
          permitted degree m=1, df=1: Linear FP model.

  select: sets the variable selection level for the input variable.

   alpha: sets the FP selection level for the input variable.

   scale: use pre-transformation scaling to avoid numerical problems.

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

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

     ## Not run: 
             fp(x, df = 4, select = 0.05, scale = FALSE)
     ## End(Not run)

