bubbleFIN               package:StatDA               R Documentation

_B_u_b_b_l_e_p_l_o_t _d_u_e _t_o _F_i_n_n_i_s_h _m_e_t_h_o_d

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

     This function plots multivariate data with respect to the value.
     The size of the bubble represents the value of the datapoint.

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

     bubbleFIN(x, y, z, radi = 10000, S = 9, s = 0.9, wa = 0, wb = 0.95, wc = 0.05,
     plottitle = "BubblePlot", legendtitle = "Legend", text.cex = 1,
     legtitle.cex = 1, backgr = "kola.background", leg = TRUE, ndigits = 1)

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

       x: x coordinates 

       y: y coordinates 

       z: measured value at point (x,y) 

    radi: scaling for the map 

    S, s: control the size of the largest and smallest bubbles 

wa, wb, wc: factors which defines the shape of the exponential function 

plottitle: the titel of the plot 

legendtitle: the titel of the legend 

text.cex: multiplier for the size of the labels 

legtitle.cex: multiplier for the size of the legendtitle 

  backgr: which background should be used 

     leg: if TRUE the bubbles are plotted to the legend 

 ndigits: how much digits should be plotted at the legend 

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

     The smallest bubbles represent the 10% quantile and the biggest
     bubbles represent the 99

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

     Plots bubbles in the existing plot.

_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(kola.background)
     data(ohorizon)
     el=ohorizon[,"Mg"]
     X=ohorizon[,"XCOO"]
     Y=ohorizon[,"YCOO"]
     plot(X,Y,frame.plot=FALSE,xaxt="n",yaxt="n",xlab="",ylab="",type="n") #plot bubbles with background
     plotbg(map.col=c("gray","gray","gray","gray"),add.plot=TRUE)

     bubbleFIN(X,Y,el,S=9,s=2,plottitle="",legendtitle="Mg [mg/kg]", text.cex=0.63,legtitle.cex=0.80)

