my_xyplot | R Documentation |
This function plots a nice ggplot geom_point graph
my_xyplot(x, y, myxlab, myylab, mycolor)
x |
x variable for the plot |
y |
y variable for the plot |
myxlab |
label of x |
myylab |
label of y |
mycolor |
color of points |
This function standardizes the plotting procedure
Returns a standard plot with geom_point
## Not run:
plot=
my_xyplot(
x=working_memory,
y=stay,
myxlab="Working_memory",
myylab="Probability to stay with same card",
mycolor = "green")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.