pltSplomT              package:cwhplot              R Documentation

_P_l_o_t _h_i_s_t_o_g_r_a_m_s, _s_c_a_t_t_e_r_p_l_o_t _m_a_t_r_i_x

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

     'pltHist' plots histograms of the columns of a data frame or
     matrix, in a rectangular fashion. 'pltSplomT' plots a scatterplot
     matrix analogous to 'pairs', with histograms or density estimation
     in the diagonal, correlations in scaled font, and scatterplots in
     the lower diagonal, with smoothing in both directions, with title
     and time stamp.

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

       pltHist(data,rows=round(sqrt(ncol(data))),cols=ceiling(ncol(data)/rows))
       pltSplomT(data, mainL = deparse(substitute(data)), xlabL = "", 
         hist = c("h", "d", "b"), adjust = 1, hist.col =
     trellis.par.get("strip.background")$col[5], cex.diag = 1,  h.diag=0.4, ...)

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

    data: Matrix or data frame containing data, varibles in columns

   mainL: Label on top

   xlabL: Label for x axis

     ...: Parameters passed on to upper.panel,lower.panel,diag.panel

rows, cols: Number of rows and columns for output figures like in
          'mfreg'

    hist: "h" = histogram, "d" = density curve, "b" = both

  adjust: factor to adjust smoothing window for density curve

hist.col: colour for the bars of the histograms

cex.diag: correction factor for font height of correlations and names
          in the diagonal

  h.diag: placement of the variable name in the diagonal panel, =0
          means on the lower border, =0.5 in the middle between lower
          and upper border

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

     Are called for their side effect to produce a plot.

_N_o_t_e:

     Uses 'splom' in package "lattice", 'datetime in "CWHplot". '

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

     Christian W. Hoffmann, christian.hoffmann@wsl.ch, <URL:
     http://www.wsl.ch/staff/christian.hoffmann> with the assistance of
     Deepayan Sarkar deepayan@cs.wisc.edu.

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

      # see also
     ## Not run: 
       data <- as.data.frame(matrix(rnorm(500),nrow=100,ncol=5))
       colnames(data)<-letters[1:5]
       pltSplomT(data,mainL="",hist="d",adjust=1.0,hist.col="green")
       pltSplomT(data,mainL="",hist="b",adjust=0.4,cex.diag = 1.9)
       pltHist(data)
     ## End(Not run) 

