Description Usage Arguments Details Note Author(s) References Examples
Uses layout to plot several graphs on a page and plot on two vertical axis
1 2  | panels(wd, ht, rows, cols, pty, int = "r")
plot2yaxis(x, x0 = FALSE, y0 = FALSE)
 | 
wd | 
 Width  | 
ht | 
 Height  | 
rows | 
 number of rows  | 
cols | 
 number of columns  | 
pty | 
 type  | 
int | 
 axis intersection  | 
x | 
 Variable x for horizontal axis and variables y1, y2 for vertical axes  | 
x0 | 
 Logical to select axis limit  | 
y0 | 
 Logical to select axis limit  | 
Function panels makes more efficient use of space than par(mfrow)
Util functions used in most chapters of Acevedo (2018)
Miguel F. Acevedo Acevedo@unt.edu
Acevedo, M.F. 2018. Introduction to Renewable Electric Power Systems and the Environment with R. Boca Raton, FL: CRC Press. (ISBN 9781138197343)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.