Learn R Programming

james.analysis (version 1.0.1)

reduceJAMES: Reduce analysis results to selected problems and searches

Description

Reduce the given data by filtering the analyzed problems and applied searches based on the given list of names or regular expression (pattern matching is done with grep). This is a generic S3 method.

Usage

reduceJAMES(data, problems = ".*", searches = ".*", ...)

Arguments

data
data object containing the analysis results
problems
regular expression or list of strings. Only those problems that match the regular expression or occur in the list are retained.
searches
regular expression or list of strings. Only those searches that match the regular expression or occur in the list are retained.
...
any additional arguments are passed to grep.

Value

Reduced data set containing only those problems and searches whose names match the respective regular expression or occur in the respective list of strings. Assigned classes are retained.