plotelement              package:StatDA              R Documentation

_P_l_o_t _E_l_e_m_e_n_t_s _o_f _a _D_i_s_c_r_i_m_i_n_a_n_t _A_n_a_l_y_s_i_s

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

     Plot the elements for the discriminant analysis. The plot is
     ordered in the different groups.

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

     plotelement(da.object)

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

da.object: a object of the lda class

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

     Peter Filzmoser <P.Filzmoser@tuwien.ac.at>

_R_e_f_e_r_e_n_c_e_s:

     C. Reimann, P. Filzmoser, R.G. Garrett, and R. Dutter: Statistical
     Data Analysis Explained. Applied Environmental Statistics with R.
     John Wiley and Sons Inc. To appear.

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

     data(iris3)
     Iris <- data.frame(rbind(iris3[,,1], iris3[,,2], iris3[,,3]), Sp = rep(c("s","c","v"), rep(50,3)))
     train <- sample(1:150, 75) 
     z <- lda(Sp ~ ., Iris, prior = c(1,1,1)/3, subset = train) 

     plotelement(z)

