SelectModels: SelectModels: Help filter the member error data frame to...

Description Usage Arguments Details Value

View source: R/06_runhm.R

Description

This function creates a dataframe of desired unique groupings of WGNAMES, KEYWORDS, and ERRORTYPES available in the member error dataframe, and filters to retrieve this data.

Usage

1
2
SelectModels(member_error = NULL, basedir = "tmp", wgnames = NULL,
  keywords = NULL, errortypes = NULL)

Arguments

member_error

A long format dataframe with member errors as calculated by the ErrorByMember function.

basedir

The path to the base directory of a simulation project. The default is a subdirectory of the current directory called "tmp". This is necessary for saving the results.

wgnames

A list of Well/Group names to be selected from the member error dataframe.

keywords

A list of keywords to be selected from the member error dataframe.

errortypes

A list of error types to be selected from the member error dataframe.

Details

blah

Value

The model selection object:

"model_selection$all_choices"

"A data frame giving all combinations of WGNAME, KEYWORD, and ERRORTYPE available in the member error dataframe"

"model_selection$WGNAME"

"A vector with all of the Well/Group names available in the member error dataframe"

"model_selection$KEYWORD"

"A vector with all of the keywords available in the member error dataframe"

"model_selection$ERRORTYPE"

"A vector with all of the error types available in the member error dataframe"

"model_selection$filt"

"A filter that will retrieve all of the necessary data from the member error dataframe"

"model_selection$choice"

"A dataframe showing the "

"model_selection$kmfilt"

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