print.dissimilarity         package:cluster         R Documentation

_P_r_i_n_t _a_n_d _S_u_m_m_a_r_y _M_e_t_h_o_d_s _f_o_r _D_i_s_s_i_m_i_l_a_r_i_t_y _O_b_j_e_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Print or summarize the distances and the attributes of a
     'dissimilarity' object.

     These are methods for the functions 'print()' and 'summary()' for
     'dissimilarity' objects.  See 'print', 'print.default', or
     'summary' for the general behavior of these.

_U_s_a_g_e:

     ## S3 method for class 'dissimilarity':
     print(x, diag = NULL, upper = NULL,
           digits = getOption("digits"), justify = "none", right = TRUE, ...)
     ## S3 method for class 'dissimilarity':
     summary(object,
             digits = max(3, getOption("digits") - 2), ...)
     ## S3 method for class 'summary.dissimilarity':
     print(x, ...)

_A_r_g_u_m_e_n_t_s:

x, object: a 'dissimilarity' object or a 'summary.dissimilarity' one
          for 'print.summary.dissimilarity()'.

  digits: the number of digits to use, see 'print.default'.

diag, upper, justify, right: optional arguments specifying how the
          triangular dissimilarity matrix is printed; see 'print.dist'.

     ...: potential further arguments (require by generic).

_S_e_e _A_l_s_o:

     'daisy', 'dissimilarity.object', 'print', 'print.default',
     'print.dist'.

_E_x_a_m_p_l_e_s:

      ## See  example(daisy)

      sd <- summary(daisy(matrix(rnorm(100), 20,5)))
      sd # -> print.summary.dissimilarity(.)
      str(sd)

