PlotEach: Create an individual plot for each name(WELL/FIELD/GROUP) and...

Description Usage Arguments Details

View source: R/04_plotting.R

Description

This function accepts a long format dataframe as input, and creates plots using ggplot

Usage

1
2
PlotEach(longdata, casenames = NULL, wgnames = NULL, keywords = NULL,
  basecase = NULL, ncolumns = 3)

Arguments

longdata

A long format summary dataframe, not the csv file stored with each simulation case output. This may be either the output of the eclsum function, or the file "REPORTS/PROJSUM.csv".

casenames

A list with casenames to be plotted. Default is all casenames in the dataframe.

wgnames

A list with well/group/field names to be plotted. Default is all WELL/FIELD/GROUP names in the dataframe.

keywords

A list with parameters to be plotted, e.g. "WOPR". Default is all keywords in the dataframe.

basecase

The case against which all others will be compared.

ncolumns

How many columns of plots to display. The default is a display 3 columns wide, with as many rows as necessary to plot all of the desired plots.

Details

The intent of this function is to compare multiple runs (i.e. "cases") on the same plot. With too many cases, the plot will quickly become illegible, so a reasonable selection should be made.


gerwathome/runOPM documentation built on May 20, 2019, 4:05 p.m.