Just a wrapper around plot and points functions.
1 2 3 4 5 6 7 | plotPoints(data, v1 = "v1", v2 = "v2", axis.y.pos = -0.2,
axis.x.pos = -0.2, axis.y.las = 2, main.title = "", mgp.x = c(0.5,
0.1, 0.1), mgp.y = c(0.9, 0.2, 0.1), xlab = "", ylab = "",
plotxlim = c(-0.2, 0.6), plotylim = c(-0.2, 0.6), outma = c(0.5, 0.5,
0.5, 0.5), margin = c(1.5, 1.5, 1, 0.3), xaxis.at = seq(-0.2, 0.7, 0.2),
yaxis.at = seq(-0.2, 0.7, 0.2), cex.point = 0.1, add.text = "",
add.text.pos = c(0, 0.5), ...)
|
data |
data.frame with the data |
v1 |
Name of the variable to plot on the x axis |
v2 |
Name of the variable to plot on the y axis |
axis.y.pos |
Position of the y axis |
axis.x.pos |
Position of the x axis |
axis.y.las |
Orientation of the letters for the label of the y axis |
main.title |
Main title |
mgp.x |
mgp for x axis |
mgp.y |
mgp for y axis |
xlab |
Label for the x axis |
ylab |
Label for the y axis |
plotxlim |
Limit of the x axis |
plotylim |
Limit of the y axis |
outma |
outma for setting par |
margin |
margin for setting par |
xaxis.at |
Where the tics are shown on the x axis |
yaxis.at |
Where the tics are shown on the y axis |
cex.point |
cex for the size of the points |
add.text |
Text to add to the plot |
add.text.pos |
Position of the text to add, format (x,y) |
... |
Passed to the graphics::plot function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.