Learn R Programming

james.analysis (version 1.0.1)

getProblems: Get names of analyzed problems

Description

Extracts the names of the problems for which analysis results are contained in the given data. This is a generic S3 method.

Usage

getProblems(data, filter, ...)

Arguments

data
data object containing the analysis results
filter
regular expression (optional). Only problem names that match the given regex are returned, if any.
...
any additional arguments are passed to grep.

Value

Sorted vector of strings containing the names of all analyzed problems that occur in the given data and match the applied filter (if any).

Details

Problem names are sorted using naturalsort. If a filter is set, only those problem names matching the given regular expression are returned (pattern matching is done with grep).