sbpval               package:scaleboot               R Documentation

_E_x_t_r_a_c_t _P-_v_a_l_u_e_s

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

     'sbpval' extracts p-values from '"summary.scaleboot"' or
     '"summary.scalebootv"' objects.

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

     sbpval(x, ...)

     ## S3 method for class 'summary.scaleboot':
     sbpval(x,sd=FALSE,best=FALSE,...)

     ## S3 method for class 'summary.scalebootv':
     sbpval(x,...)

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

       x: an object used to select a method.

      sd: logical. Should standard errors be returned as well?

    best: logical. Should only the best model be returned?

     ...: further arguments passed to or from other methods.

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

     This method is used only to extract previously calculated p-values
     from the summary object.

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

     The 'sbpval' method for the class '"summary.scaleboot"' returns a
     matrix of p-values. Each row is a vector of p_k for k as specified
     in the 'summary' method. If 'sd=TRUE', then it returns a list with
     two components: 'estimate' for the p-values and 'sd' for its
     standard errors. If 'best=TRUE', then only the result for the best
     fit model is returned.

     The 'sbpval' method for the class '"summary.scalebootv"' returns a
     list vector with each component obtained by applying 'sbpval' to
     each '"scaleboot"' object.

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

     Hidetoshi Shimodaira

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

     'summary.scaleboot'.

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

     data(mam15)
     a <- mam15.relltest[["t4"]] # an object of class "scaleboot"
     b <- summary(a) # calculate p-values
     b # print the p-values
     sbpval(b) # extract a matrix p-values
     sbpval(b,sd=TRUE) # with sd
     sbpval(b,best=TRUE) # extract a vector of p-values
     sbpval(b,best=TRUE,sd=TRUE) # with sd

