subset.umbrella {metaumbrella} | R 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 |
... |
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)
[Package metaumbrella version 1.0.11 Index]