getSearches: Get names of applied searches

Description Usage Arguments Details Value

Description

Extracts the names of all searches that have been applied to the given problem.This is a generic S3 method.

Usage

1
getSearches(data, problem, filter, ...)

Arguments

data

data object containing the analysis results

problem

name of the analyzed problem. Can be omitted if the data contains results for a single problem only.

filter

regular expression (optional). Only search names that match the given regex are returned, if any.

...

any additional arguments are passed to grep.

Details

Search names are sorted using naturalsort. If the data contains results for a single problem only, the argument problem can be omitted. If a filter is set, only those search names matching the given regular expression are returned (pattern matching is done with grep).

Value

Sorted vector of strings containing the names of all searches that have been applied to the given problem and match the applied filter (if any).


james.analysis documentation built on May 1, 2019, 9:13 p.m.