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