Description Usage Arguments Examples
Scatterplot colored by appearence of missing values
1 2 |
data |
a data.frame.cala |
formula |
an object of class " |
col, pch, cex, alpha |
a two-value vector of colors, plotting characters, scaling, and transparency (value between 0 and 1) for non-missing and missing values. If provided as a scalar, same value is used for both non-missing and missing values. |
legend |
position of legend, if |
... |
additional arguments passed to |
1 2 3 4 5 6 7 | set.seed(123)
dat <- mtcars
dat$disp[sample.int(nrow(dat), 10)] <- NA
na_scatter(dat, disp ~ mpg + wt)
na_scatter(dat, disp ~ mpg + jitter(cyl, 1.1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.