subset.umbrella: Create a subset of an object of class "umbrella"

subset.umbrellaR Documentation

Create a subset of an object of class “umbrella”

Description

Create a subset of an object of class “umbrella”

Usage

## S3 method for class 'umbrella'
subset(x, subset, ...)

Arguments

x

an object of class “umbrella”.

subset

logical expression indicating elements or rows to keep: missing values are taken as FALSE.

...

other arguments that can be passed to the function

Value

Return an object of class “umbrella” with the results of some factors removed.

Examples

### perform calculations required for an umbrella review
umb <- umbrella(df.OR)

### subset the results to factors "ADHD" & "dyslexia"
subset.umb <- subset.umbrella(umb, unique(df.OR$factor) %in% c("ADHD", "dyslexia"))

summary(subset.umb)

metaumbrella documentation built on June 22, 2024, 12:17 p.m.