pl.hs: Plot histograms and scatter plots for a data frame

Description Usage Arguments Examples

View source: R/pl.hs.R

Description

Plotting histograms or scatter plots of your choice for a data frame. Also the function will name the graphs and number them. The purpose of the function is to save time when plotting graphs for a regression analysis or other usage. The function can plot, name and number the graphs at one step.

Usage

1
pl.hs(x,a,dependent,l)

Arguments

x

:a data frame

a

:the type of graph you want; a = 1 for histograms; a = 2 for scatter plots; a = 0 for both

dependent

:the dependent variable for scatterplots

l

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

Examples

1
pl.hs(mtcars,0,"mpg",1)

PMmisc documentation built on May 1, 2019, 9:57 p.m.

Related to pl.hs in PMmisc...