ploths: Plot histograms and scatter plots for a data.frame

Description Usage Arguments Examples

View source: R/plotfhs.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
ploths(x,a,dependent,c,l)

Arguments

x

:a dataframe

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

c

:is there dummy variable in the dataframe; c = 0 when there is none; c = 1 when there is

l

: number of labeling starts at (default = 1)

Examples

1
#ploths(sp500,0,"price",0,20)

Example output



FinAna documentation built on May 2, 2019, 2:51 p.m.

Related to ploths in FinAna...