candiscList             package:candisc             R Documentation

_C_a_n_o_n_i_c_a_l _d_i_s_c_r_i_m_i_n_a_n_t _a_n_a_l_y_s_e_s

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

     'candiscList' performs a generalized canonical discriminant
     analysis for all terms in a multivariate linear model (i.e., an
     'mlm' object), computing canonical scores and vectors.

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

     candiscList(mod, ...)

     ## S3 method for class 'mlm':
     candiscList(mod, type = "2", manova, ndim, ...)

     ## S3 method for class 'candiscList':
     plot(x, term, ask = interactive(), graphics = TRUE, ...)

     ## S3 method for class 'candiscList':
     print(x, ...)

     ## S3 method for class 'candiscList':
     summary(object, ...)

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

     mod: An mlm object, such as computed by lm() with a multivariate
          response

    type: type of test for the model 'term', one of: "II", "III", "2",
          or "3"

  manova: the 'Anova.mlm' object corresponding to 'mod'.  Normally,
          this is computed internally by  'Anova(mod)'

    ndim: Number of dimensions to store in the 'means', 'structure',
          'scores' and 'coeffs.*' components.  The default is the rank
          of the H matrix for the hypothesis term.

object, x: A candiscList object

    term: The name of one term to be plotted for the 'plot' method.  If
          not specified, one candisc plot is produced for each term in
          the 'mlm' object.

     ask: If 'TRUE' (the default, when running interactively), a menu
          of  terms is presented; if ask is FALSE,  canonical plots for
          all  terms are produced.

graphics: if 'TRUE' (the default, when running interactively), then the
          menu of terms to plot is presented in a dialog box rather
          than as a text menu.

     ...: arguments to be passed down.

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

     An object of class 'candiscList' which is a list of  'candisc'
     objects for the terms in the mlm.

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

     Michael Friendly and John Fox

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

     'candisc', 'heplot',  'heplot3d'

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

     grass.mod <- lm(cbind(N1,N9,N27,N81,N243) ~ Block + Species, data=Grass)

     grass.canL <-candiscList(grass.mod)
     print(grass.canL)
     plot(grass.canL, type="n", ask=FALSE)

