Learn R Programming

YRmisc (version 0.1.6)

pl.sgg: Plot scatter plots for a data frame using ggplot2

Description

Plotting scatter plots for a data frame using ggplot2, with titles and label numbers. The output will be 4 graphs per page.

Usage

pl.sgg(x,dependent,l)

Arguments

x

:a data frame, which includes the dependent variable

dependent

:the dependent variable for scatter plot

l

: the beginning label number in the title (default set to 1)

Examples

Run this code
# NOT RUN {
pl.sgg(mtcars,"mpg",1)
# }

Run the code above in your browser using DataLab