Description Usage Arguments Details Value References See Also
Ordinary scatterplots are not useful for large, unequally sampled data. Two alternatives are hexagonal binning, in which points are replaced by hexagons indicating the population weight in regions of the plot, and thinning, in which one or more iid subsamples taken from the survey sample is plotted.
1 2 3 4 5 6 7 | ## S3 method for class 'sqlsurvey'
svyplot(formula, design, style = c("hex", "grayhex", "subsample"), ...)
## S3 method for class 'sqlrepsurvey'
svyplot(formula, design, style = c("hex", "grayhex", "subsample"), ...)
sqlhexbin(formula, design, xlab = NULL, ylab = NULL, ..., chunksize =
10000)
sqlscatter(formula, design, npoints = 1000, nplots = 4, ...)
|
formula |
Formula specifying the two variables to plot |
design |
|
xlab |
x-axis label |
ylab |
y-axis label |
style |
|
npoints |
Number of points to sample |
nplots |
Number of thinned samples to plot |
... |
Other arguments to |
chunksize |
Number of observations to fetch at a time |
Unlike most functions for sqlsurvey
objects, sqlhexbin
fetches all observations for the specified variables, and so would be slow over a network link.
A object of S4 class hexbin
, invisibly.
Carr, D. B. et al. (1987) Scatterplot Matrix Techniques for Large N. JASA 83, 398, 424-436.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.