MDexclude: Include/Exclude Variables from an MDlist

Description Usage Arguments Value See Also Examples

Description

Convience tools to quickly include or exlcude variables from all studies of an MDlist object. Similar functionality to subset.

Usage

1
2
3
  MDexclude(meta.obj, vars)

  MDinclude(meta.obj, vars)

Arguments

meta.obj

An MDlist (an object from read.MD).

vars

A character vector of the variable to include/exclude.

Value

Returns an MDlist with just the included variables (MDinclude) or the excluded variables (MDexclude) removed from each study.

See Also

subset

Examples

1
2
3
4
5
path <- system.file("extdata/bibTest.bib", package = "metaDAT")
dat <- read.MD(path)
vars.list <- c("coder", "time", "ee_phi")
MDinclude(dat, vars.list)
MDexclude(dat, vars.list)

trinker/metaDAT documentation built on May 31, 2019, 8:52 p.m.