powered by
Plotting scatter plots for a data frame using ggplot2, with titles and label numbers. The output will be 4 graphs per page.
pl.sgg(x,dependent,l)
:a data frame, which includes the dependent variable
:the dependent variable for scatter plot
: the beginning label number in the title (default set to 1)
# NOT RUN { pl.sgg(mtcars,"mpg",1) # }
Run the code above in your browser using DataLab