Tutorials

Learning tasks

How To

Reference

Background

public groupobsfunction

groupobs(f, data)

Split data container data data into different data containers, grouping observations by f(obs).

data = -10:10
datas = groupobs(>(0), data)
length(datas) == 2