Table2dataset: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
(Created page with "===Purpose=== Convert Matlab Table Object to DatasetObject. ===Synopsis=== :x = table2dataset(tbl) ===Description=== Convert Matlab Table Object to DatasetObject. ===S...")
 
No edit summary
Line 9: Line 9:
===Description===
===Description===


Convert Matlab Table Object to DatasetObject.  
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===
===See Also===


[[dataset]], [[parsemixed]]
[[dataset]], [[parsemixed]]

Revision as of 13:21, 20 July 2020

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