View source: R/exhaust_design.R
exhaust_design | R Documentation |
Parse through a research design, iterating over all possible choices, thereby exhausting all documented researcher degrees of freedom. Provides the option for parallel processing. Returns a data frame containing the results for all choice combinations. Alternatively, you can provide a database handle. In this case, only choice combinations that are not present in the database are estimated
exhaust_design(
d,
start_input,
cl = NULL,
db_conn_func = NULL,
db_table = "exhausted_designs",
libs = NULL,
export = ls(globalenv()),
choice_df = NULL,
weight = FALSE,
est_by_cchoice = 10,
verbose = FALSE
)
d |
A character vector of the research design steps function names |
start_input |
The input data for the first step. |
cl |
Either the return value of |
db_conn_func |
A function that will return a DBIConnection-class
object. if not |
db_table |
A character string providing the table name to use or
create under the database connection provided with |
libs |
The libraries that the design steps rely on. |
export |
The members of the environment that you want to export to the parallel cores. Defaults to all members of the global environment. |
choice_df |
A dataframe containing the design choices that should be
explored. If |
weight |
Whether each step's choices should be weighted by their user
assigned weights as included in the |
est_by_cchoice |
Each continuous choice will be evaluated by
|
verbose |
Set to |
See the vignette of the package for further details.
A data frame containing results for all feasible choice permutations.
## Not run:
print("Sorry. No examples yet.")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.