pl.sgg {YRmisc}R Documentation

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

pl.sgg(mtcars,"mpg",1)

[Package YRmisc version 0.1.6 Index]