Subscript into table or timetable by variable type
S = vartype( creates a subscript to select
table variables of a specified type. The type)type input argument is a
character vector that specifies any type that is accepted by the isa function, such as
'numeric', 'float',
'integer', or 'string'. It also can be
'cellstr' to select variables that contain cell arrays of
character vectors.
For example, S = vartype('numeric'); T2 = T1(:,S) returns T2 as
a table that contains only the numeric variables from the table T1.