sqlhexbin              package:surveyNG              R Documentation

_H_e_x_a_g_o_n_a_l _b_i_n_n_i_n_g

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

     Draws a scatterplot in which points are replaced by hexagons
     indicating the population weight in regions of the plot. Requires
     the '"hexbin"' package from Bioconductor

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

     sqlhexbin(formula, design, xlab = NULL, ylab = NULL, ..., chunksize = 5000)

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

 formula: Formula specifying the two variables to plot 

  design: 'sqlsurvey' object 

    xlab: x-axis label 

    ylab: y-axis label 

     ...: Other arguments to 'gplot.hexbin' 

chunksize: Number of observations to fetch at a time 

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

     Unlike most functions for 'sqlsurvey' objects, this fetches all
     observations for the specified variables, and so would be slow
     over a network link.

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

     A object of S4 class 'hexbin', invisibly.

_R_e_f_e_r_e_n_c_e_s:

     Carr, D. B. et al. (1987) Scatterplot Matrix Techniques for Large
     N. JASA 83, 398, 424-436.

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

     'sqlsurvey', 'sqlocpoly'

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

     ## Not run: 
     sqclus1<-sqlsurvey(id="dnum", fpc="fpc", weights="pw", strata="fpc",
        data=system.file("apiclus1.db",package="surveyNG"),
        table.name="clus1", key="snum")

     sqlhexbin(api00~api99, design=sqclus1,style="centroid")-

     close(sqclus1)
     ## End(Not run)

