Previous: , Up: table   [Contents]


8.2.59.73 table.subsetvars

Method: out = subsetvars (obj, ixVars)

Subset table by variables.

Subsets table obj by subsetting it along its variables.

ixVars may be: - a numeric index vector - a logical index vector - ":" - a cellstr vector of variable names

The resulting table will have its variables reordered to match ixVars.