Table2dataset

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Purpose

Convert Matlab Table Object to DatasetObject.

Synopsis

x = table2dataset(tbl)

Description

Convert Matlab Table Object to DatasetObject. This function will attempt to make the following assignments:

  • Table row names to DataSet Object row label field
  • Table variable names (tbl.Properties.VariableNames) to DataSet Object column label field
  • Any categorical data (example: Male or Female) to row class field
  • Any date/time information to row axis scale field
  • Any information in the table Properties.Despcription field it will be put in the DataSet Object .description field.
  • Any information in the table Properties.UserData field it will be put in the DataSet Object .userdata field.

See Also

dataset, parsemixed