ellipse              package:clusterfly              R Documentation

_C_r_e_a_t_e _m_u_l_t_i_v_a_r_i_a_t_e _e_l_l_i_p_s_e

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

     Randomly sample points from a probability contour of a
     multivariate normal

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

     ellipse(data, npoints=1000, cl=0.95, mean=colMeans(data), cov=var(data), df=nrow(data))

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

    data: data frame or matrix

 npoints: number of points to sample

      cl: proportion of density contained within ellipse

    mean: mean vector

     cov: variance-covariance matrix

      df: degrees of freedom used for calculating F statistic

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

     There are two ways to use this function.       You can either
     supply a data set for which a multivariate normal ellipse will be
     drawn or you can supply the mean vector, covariance matrix and
     number of dimensions yourself.

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

     Hadley Wickham <h.wickham@gmail.com>

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

