The function dataset_split
takes a data frame and transforms it into \(K = n/I\) data frames with \(I\) individuals missing from each data frame. Let \(I_j\) be sets of indices with \(\cup_{j=1}^K I_j = \{1,...,n\}\), \(I_k\cap I_j = \emptyset\) and \(|I_j| = |I_k| = I\) for all \(j, k \in \{1,...,K\}\). Then data frames with \(\{1,...,n \}/I_j\) individuals are created.