scatterPlot | R Documentation |
Draws a scatterplot of data points with regression fit
scatterPlot(x, y, z, main, sub, xlab, ylab, col, fit, cor, legend, file, ...)
x |
numeric vector of values |
y |
numeric vector of values |
z |
character or numeric vector giving the group memberships of elements in x an y |
main |
character string for main title |
sub |
character string for sub title |
xlab |
character string for x axis label |
ylab |
character string for y axis label |
col |
character string giving the colors of the dots if z is missing |
fit |
list of two giving the type of fitting
|
cor |
list of two giving the placement of correlation coefficient and P-value
|
legend |
list of three giving the necessary information for the legend
|
file |
character string specifying the path and file name of the output pdf |
... |
addition arguments that may be passed to |
None
David Brown
brownd7@mskcc.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.