edaplotlog              package:StatDA              R Documentation

_E_d_a_p_l_o_t _f_o_r _l_o_g_t_r_a_n_s_f_o_r_m_e_d _d_a_t_a

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

     This function plots a histogram of the data. There is also the
     choice to add the density, a boxplot and a scatterplot to the
     histogram.

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

     edaplotlog(data, scatter = TRUE, box = TRUE, P.plot = TRUE, D.plot = TRUE,
     P.main = paste("Histogram of", deparse(substitute(data))), P.sub = NULL,
     P.xlab = deparse(substitute(data)), P.ylab = default, P.ann = par("ann"),
     P.axes = TRUE, P.frame.plot = P.axes, P.log = FALSE,
     P.logfine = c(2, 5, 10), P.xlim = NULL, P.cex.lab = 1.4, B.range = 1.5,
     B.notch = FALSE, B.outline = TRUE, B.border = par("fg"), B.col = NULL,
     B.pch = par("pch"), B.cex = 1, B.bg = NA, B.log = FALSE,
     H.breaks = "Sturges", H.freq = TRUE, H.include.lowest = TRUE,
     H.right = TRUE, H.density = NULL, H.angle = 45, H.col = NULL,
     H.border = NULL, H.labels = FALSE, S.pch = ".", S.col = par("col"),
     S.bg = NA, S.cex = 1, D.lwd = 1, D.lty = 1)

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

    data: data set 

 scatter: if TRUE the scatter plot is added

     box: if TRUE a boxplot or boxplotlog is added

  P.plot: if it is plotted or just a list is computed

  D.plot: if TRUE the density is added

P.main, P.sub,P.xlab,P.ylab,P.ann: graphical parameters for the
          density, see plot

P.axes,P.frame.plot: plots the y-axis with the ticker

   P.log: if TRUE the x-axis is in log-scale

P.logfine: how fine the tickers are 

P.xlim,P.cex.lab: further graphical parameters

B.range, B.notch, B.outline,B.border, B.col, B.pch,B.cex, B.bg: 
          parameters for boxplot and boxplotlog function, see boxplot
          and boxplotlog

   B.log: if TRUE the function boxplotlog is used instead of boxplot 

H.breaks, H.include.lowest, H.right,H.density,H.angle,H.col,H.border,H.labels: 
          parameters for histogram, see hist

  H.freq: uses the number of data points in the range 

S.pch, S.col,S.bg,S.cex: graphical parameters for the shape of the
          points, see points 

D.lwd, D.lty: parameters for the density

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

     First the histogram, boxplot/boxplotlog and density is calculate
     and then the plot is produced. The default is that histogram,
     boxplot, density trace and scatterplot is made.

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

       H: results of the histogram

       B: results of boxplotlog

_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.

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

     'plot','boxplot', 'boxplotlog', 'hist', 'points'

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

     data(chorizon)
     Ba=chorizon[,"Ba"]
     edaplotlog(Ba,H.freq=FALSE,box=TRUE,H.breaks=30,S.pch=3,S.cex=0.5,D.lwd=1.5,P.log=FALSE,
       P.main="",P.xlab="Ba [mg/kg]",P.ylab="Density",B.pch=3,B.cex=0.5,B.log=TRUE)

