Tutorials

Learning tasks

How To

Reference

Background

public filterobsfunction

filterobs(f, data)

Return a subset of data container data including all indices i for which f(getobs(data, i)) === true.

data = 1:10
nobs(data) == 10
fdata = filterobs(>(5), data)
nobs(fdata) == 5