results_subset: subset a list of results based on analysis parameters

Description Usage Arguments Details Value

View source: R/results_subset.R View source: R/template_result_utils.R

Description

subset a list of results based on analysis parameters

subset a list of results based on analysis parameters

Usage

1
2
3
4
5
results_subset(results, repeat.vars = NULL, repeat.var.values = NULL,
  dependent.vars = NULL, logical = NULL)

results_subset(results, repeat.vars = NULL, repeat.var.values = NULL,
  dependent.vars = NULL, logical = NULL)

Arguments

results

list of results (output from 'from_analysisplan_map_to_output()')

repeat.vars

optional: vector of character strings: keeps only results where repeat.var in this list

repeat.var.values

optional: vector of character strings: keeps only results where repeat.var.vaues in this list

dependent.vars

optional: vector of character strings: keeps only results where dependent.var in this list

logical

optional: subset by a logical vector (same length as list of results)

results

list of results (output from 'from_analysisplan_map_to_output()')

repeat.vars

optional: vector of character strings: keeps only results where repeat.var in this list

repeat.var.values

optional: vector of character strings: keeps only results where repeat.var.vaues in this list

dependent.vars

optional: vector of character strings: keeps only results where dependent.var in this list

logical

optional: subset by a logical vector (same length as list of results)

Details

if multiple parameters are given to subset by, only those are kept where all conditions apply

if multiple parameters are given to subset by, only those are kept where all conditions apply

Value

a resultlist in same format as from_analysisplan_map_to_output() only including those results with matching analysis parameters

a resultlist in same format as from_analysisplan_map_to_output() only including those results with matching analysis parameters


mabafaba/hypegrammaR documentation built on Oct. 2, 2019, 11:33 a.m.