ezScatter | R Documentation |
Does scatter plots.
ezScatter(
x = NULL,
y,
xlab = NULL,
ylab = NULL,
nPlotsPerRow = 6,
shrink = FALSE,
lim = range(x, y, na.rm = TRUE),
isPresent = NULL,
types = NULL,
pch = 16,
colors = rainbow(ncol(types)),
legendPos = "bottomright",
cex.main = 1,
cex = 1,
...
)
ezXYScatter(
xVec,
yVec,
absentColor = "gray",
shrink = FALSE,
frame = TRUE,
axes = TRUE,
xlim = range(xVec, yVec, na.rm = TRUE),
ylim = xlim,
isPresent = NULL,
types = NULL,
pch = 16,
colors = rainbow(ncol(types)),
legendPos = "bottomright",
...
)
x |
an optional reference vector or matrix. |
y |
a matrix of values to plot. |
xlab |
a character for labeling the reference. If |
ylab |
a character vector for the labels of the plots. If |
nPlotsPerRow |
an integer specifying the number of plots per row. |
shrink |
a logical specifying whether to shrink the values to range. |
lim |
integers specifying the x and y limits of the plot. |
isPresent |
a logical specifying whether the signal is present. |
types |
a character vector containing the types. |
pch |
an integer specifying the look of plotted points. |
colors |
a character vector containing colors. |
legendPos |
a character vector or integer specifying the position of the legend. |
cex.main |
a numeric specifying the size of main titles relative to |
cex |
a numeric specifying the size of text and symbols. |
... |
additional arguments to be passed further. |
ezXYScatter
: Does the XY scatter plot.
Rehrauer, Hubert
Schmid, Peter
x = runif(n=1000)
y = runif(n=1000)
isPresent = x > 0.2 & y > 0.2
ezScatter(y=data.frame(a=1:10, b=21:30, c=41:50))
ezXYScatter(x, y, isPresent=isPresent)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.