plot.aplus           package:compositions           R Documentation

_D_i_s_p_l_a_y_i_n_g _a_m_o_u_n_t_s _i_n _s_c_a_t_t_e_r_p_l_o_t_s

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

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

       ## S3 method for class 'aplus':
       plot(x,...,labels=colnames(X),cn=colnames(X),
                          aspanel=FALSE,id=FALSE,idlabs=NULL,idcol=2,
                          center=FALSE,scale=FALSE,pca=FALSE,col.pca=par("col"),
                          add=FALSE,logscale=TRUE,col=par("col"))
       ## S3 method for class 'rplus':
       plot(x,...,labels=colnames(X),cn=colnames(X),
                          aspanel=FALSE,id=FALSE,idlabs=NULL,idcol=2,
                          center=FALSE,scale=FALSE,pca=FALSE,col.pca=par("col"),
                          add=FALSE,logscale=FALSE,
                          xlim=apply(X,2,function(x) c(0,max(x, na.rm = TRUE))),
                          ylim=xlim,col=par("col"))
       ## S3 method for class 'rmult':
       plot(x,...,labels=colnames(X),cn=colnames(X),
                          aspanel=FALSE,id=FALSE,idlabs=NULL,idcol=2,
                          center=FALSE,scale=FALSE,pca=FALSE,col.pca=par("col"),
                          add=FALSE,logscale=FALSE,col=par("col"))
               

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

       x: a dataset with class aplus, rplus or rmult

     ...: further graphical parameters passed (see 'par')

     add: a logical indicating whether the information should just be
          added to an existing plot. If FALSE, a new plot is created

     col: the color to plot the data

  labels: the labels for names of the parts

      cn: the names of the parts to be used in a single panel. Internal
          use only

 aspanel: logical indicating that only a single panel should be drawn
          and not the whole plot. Internal use only

      id: a logical. If TRUE one can identify the points like with the
          'identify' command

  idlabs: A character vector providing the labels to be used with the
          identification, when 'id=TRUE'

   idcol: color of the 'idlabs' labels

  center: a logical indicating whether the data should be centered
          prior to the plot. Centering is done in the chosen geometry.
          See 'scale'

   scale: a logical indicating whether the data should be scaled prior
          to the plot. Scaling is done in the chosen geometry. See
          'scale'

     pca: a logical indicating whether the first principal component
          should be displayed in the plot. Currently, the direction of
          the principal component of the displayed subcomposition is
          displayed as  a line. In a future, the projected principal
          componenent of the whole  dataset should be displayed.

 col.pca: the color to draw the principal component.

logscale: logical indicating whether a log scale should be used

    xlim: 2xncol(x)-matrix giving the xlims for the columns of x

    ylim: 2xncol(x)-matrix giving the ylims for the columns of x

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

     TO DO: fix pca bug

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

     K.Gerald v.d. Boogaart <URL: http://www.stat.boogaart.de>

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

     'plot.aplus', 'qqnorm.acomp','boxplot.acomp'

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

     data(SimulatedAmounts)
     plot(aplus(sa.lognormals))
     plot(rplus(sa.lognormals))
     plot(aplus(sa.lognormals5))
     plot(rplus(sa.lognormals5))

