Learn R Programming

RQDA (version 0.3-0)

getFileIdSets: Get file id from sets.

Description

Get the file id from file-sets given the type of relation between sets. File-set is defined by the case or filecategory.

Usage

getFileIdSets(set = c("case", "filecategory"), relation = c("union", "intersect"))

Arguments

set

type of set, either "case" or "filecategory".

relation

relation between sets, either "union" or "interset".

Value

A numeric vector or NULL if no file id is well-defined.

Details

File-set is defined by case or file category. Files belonging to a case/filecategory are in a set. This function gets file id from the selected sets. When multiple sets are selected, the relation between them can be defined. When relation is union, file ids from either selected set are returned. When relation is intersect, only file ids that appear in all the selected sets are returned.

See Also

retrieval, getFileIds