multi_plot: multi_plot

Description Usage Arguments Value See Also Examples

View source: R/multi_plot.R

Description

Create multiple types of plots on the same page
Note: Call quatrz() prior to plottting in RStudio
Dependencies: gridExtra

Usage

1
2
multi_plot(d, n = 6, file = "plot", nrow = 3, ncol = 2,
  wi = 13.5, hgt = 9, res = 300, type, annotate)

Arguments

d

data frame

n

number of variables to display per page

file

filename of output

nrow

number of variables per row

ncol

number of variables per column

wi

width of plot

hgt

height of plot

res

resolution of plot

type

sepcify plot type 'hist-qq, box-qq, hist-box, hist-box-qq'

annotate

optional data frame with clinical lab information

Value

png image(s)

See Also

Other plot functions: bar_plot, box_plot, eman, hist_fun, hist_plot, qq_fun, qq_plot

Other continuous variable functions: box_plot, correlations, hist_fun, outlier_impact, qq_fun, qq_plot, remove_outliers

Examples

1
2
3
4
## Not run: 
multi_plot(d, n=6, file="plot", nrow=3, ncol=2, wi=13.5, hgt=9, res=210, type="hist-qq", annotate)

## End(Not run)

HallLab/clarite documentation built on Oct. 27, 2020, 6:27 p.m.