my_xyplot: my_xyplot

View source: R/my_xyplot.R

my_xyplotR Documentation

my_xyplot

Description

This function plots a nice ggplot geom_point graph

Usage

my_xyplot(x, y, myxlab, myylab, mycolor)

Arguments

x

x variable for the plot

y

y variable for the plot

myxlab

label of x

myylab

label of y

mycolor

color of points

Details

This function standardizes the plotting procedure

Value

Returns a standard plot with geom_point

Examples

## 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)

shahar-lab/RLR documentation built on March 2, 2024, 4:40 a.m.