public
groupobs
— function
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
public
groupobs
— function
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