var                 package:circular                 R Documentation

_V_a_r_i_a_n_c_e

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

     The 'var' function from the 'base' is replace by a new 'method' in
     order to report the variance of circular data appropriatly.
     'var.default' is an alias of the original function 'var'. The
     behavior would be the same for objects which are not from 'class'
     'data.frame' and 'circular' (in the last case the variance is
     define as one minus the mean resultant length divided by the
     sample size of data, see 'var.circular' for more details). The
     method for 'data.frame' will apply the 'var' function to each
     columns.

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

     var(x, ...)
     ## Default S3 method:
     var(x, y = NULL, na.rm = FALSE, use, ...)
     ## S3 method for class 'data.frame':
     var(x, ...)

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

       x: a numeric vector, matrix or data frame.

       y: 'NULL' (default) or a vector, matrix or data frame with
          compatible dimensions to 'x'.  The default is equivalent to
          'y = x' (but more efficient).

   na.rm: logical. Should missing values be removed?

     use: an optional character string giving a method for computing
          covariances in the presence of missing values.  This must be
          (an abbreviation of) one of the strings '"all.obs"',
          '"complete.obs"' or '"pairwise.complete.obs"'.

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

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

     'var', 'var.circular', 'rho.circular' and 'summary.circular'.

