Description Usage Arguments Value Examples
Create a basic cross-sectional plot using standard evaluation of the variable names
1 2 3 4 |
data |
the data to be plotted |
x.var |
string with the x axis variable |
y.var |
string with the y axis variable |
size.var |
string with the size (weighting) variable. Defaults
to |
shapes.var |
string with the shapes (different shapes for
different) points variable. Defaults to |
label.var |
string with the names of the points that can be
used with |
control.vars |
a character vector with the names of variables
that will be used as controls via the Frisch<e2><80><93>Waugh<e2><80><93>Lovell
theorem. The result will be a plot (an AV Plot) and statistics
where the variables in |
title |
string with the the title for plot |
xlabel |
string with the xlabel. Defualts to |
ylabel |
string with the ylabel |
shapes |
numeric vector with the shapes of the points. For shape options, see http://www.cookbook-r.com/Graphs/Shapes_and_line_types/ |
colors |
character vector with the colors for different
points. Defaults to |
points.alpha |
|
a ggplot2
plot with the cross-sectional output
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.