Skip to contents

Function to subset data for meta-analysis

Usage

subset_data(data, K)

Arguments

data

list three elements: first named \(Y\), second named \(X\), third named \(crd\)

K

integer number of desired subsets

Value

list subsets of data, and the set of indexes