Convert table or timetable variables to specified data type
T2 = convertvars(
converts the specified variables to the specified data type. The input argument
T1
,vars
,dataType
)T1
can be a table or timetable.
While you can specify dataType
as the name of a data type, you also
can specify it as a function handle. In that case, it is a handle to a function that
converts or otherwise modifies the variables specified by vars
.
Similarly, vars
can contain variable names or positions of variables in
T1
, or it can be a handle to a function that identifies
variables.
addvars
| mergevars
| movevars
| removevars
| renamevars
| splitvars