Description Usage Arguments Value Author(s) Examples
Select something for each first stages sample size from a data.table
of simulation results
1 2 | select_results(maxsim, what, base_columns = c("delta", "sigma", "d", "n1",
"s"), functional = which.min)
|
maxsim |
|
what |
character vector of column names according to which the selection should be performed |
base_columns |
columns to keep from original data.table use |
functional |
function applied columns |
data.table
with selected rows, plus one row giving the column name the selection was based on
Florian Klinglmueller
1 2 3 | data(maxsim)
## select largest (absolute) mean.bias for each first stage sample size
select_results(maxsim,'mean.bias')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.