subset.longarm {meta} | R Documentation |
The subset
method returns a subset of a longarm object.
## S3 method for class 'longarm' subset(x, subset, ...)
x |
An object of class |
subset |
A logical expression indicating elements or rows to keep: missing values are taken as false. |
... |
Additional arguments. |
A longarm
object is returned.
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
# Artificial example with three studies m <- metabin(1:3, 100:102, 4:6, 200:202, studlab = LETTERS[1:3]) # Transform data to long arm-based format l1 <- longarm(m) l1 # Subset without Study B subset(l1, studlab != "B")