filterBioByWords: Selects records containing the inclusion keywords if they do...

Description Usage Arguments Value

Description

Selects records containing the inclusion keywords if they do not contain the exclusion keywords

Usage

1
filterBioByWords(df, inclusions = NULL, exclusions = NULL)

Arguments

df

a processed NSSP data.frame

inclusions

a string of keywords indicative of the condition of interest

exclusions

a string of keywords if found in the records with inclusion keywords disqualify those previously selected records

Value

a list containing 3 elements. cut1, a data.frame containing records meeting the inclusion criteria. cut2, a data.frame containing the records meeting the exclusion criteria within cut1. cut3, a data.frame containing the final selection in the process. cut3 is a data.frame resulting from the subtraction of cut2 from cut1.


hmenag1/ss4weka documentation built on May 17, 2019, 4:34 p.m.