gplot.factor | R Documentation |
This function implements a scatterplot for factor
arguments
for the generic gplot
function.
If y
is missing gbarplot
is produced; for numeric
y
gboxplot
is used; for a factor y
a
gspineplot
is shown; and for any other type of y
, the
next gplot
method is called, normally gplot.default
.
## S3 method for class 'factor'
gplot(
x,
y,
legend.text = NULL,
...,
grid = TRUE,
col.grid = "grey90",
col.acc = "white"
)
x, y |
numeric or factor. |
legend.text |
character vector for annotation of y axis in the
case of a factor |
... |
Further arguments to |
grid |
logical; if |
col.grid |
|
col.acc |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.