TableOfReal

One of the types of objects in Praat.

A TableOfReal object contains a number of cells. Each cell belongs to a row and a column. For instance, a TableOfReal with 10 rows and 3 columns has 30 cells.

Each row and each column may be labeled with a title.

## Creating a TableOfReal from data in a text file

Suppose you have F1 and F2 data for vowels. You can create a simple text file like the following:

`"ooTextFile" ! The line by which Praat can recognize your file
` `"TableOfReal" ! The line that tells Praat about the contents
` `2 "F1" "F2" ! Number of columns, and column labels
` `3 ! Number of rows
` `"a" 800 1100 ! Row label (vowel), F1 value, F2 value
` `"i" 280 2800 ! Row label (vowel), F1 value, F2 value
` `"u" 260 560 ! Row label (vowel), F1 value, F2 value
`

Praat is rather forgiving about the use of spaces, tabs, and newlines. See Save as text file... for general information.

You will often have your data in a file with a self-describing format, i.e. in which the number of values on a line equals the number of columns of the table:

`800 1100
` `280 2800
` `260 560
`

Such a file can be read with Read Matrix from raw text file.... This creates a Matrix object, which can be cast to a TableOfReal object by Matrix: To TableOfReal. The resulting TableOfReal does not have any row or column labels yet. You could add column labels with:

`Set column label (index): 1, “F1”
` `Set column label (index): 2, “F2”
`

Of course, if the row labels contain crucial information, and the number of rows is large, this is not a feasible method.

### Links to this page

- Canonical correlation analysis
- CCA & TableOfReal: To TableOfReal (loadings)
- CCA & TableOfReal: To TableOfReal (scores)...
- Confusion: To TableOfReal (marginals)
- Correlation: Confidence intervals...
- Covariance & TableOfReal: Extract quantile range...
- Covariance & TableOfReal: To TableOfReal (mahalanobis)...
- Covariance: To TableOfReal (random sampling)...
- Create iris data set
- Create TableOfReal
- Create TableOfReal (Pols 1973)...
- Create TableOfReal (Sandwell 1987)
- Create TableOfReal (Van Nierop 1973)...
- Create TableOfReal (Weenink 1985)...
- Discriminant & TableOfReal: To ClassificationTable...
- Discriminant & TableOfReal: To Configuration...
- Discriminant & TableOfReal: To TableOfReal (mahalanobis)...
- Dissimilarity
- Distributions
- Eigen & TableOfReal: Project...
- FFNet: Extract weights...
- Formulas 8. Attributes of objects
- GaussianMixture & TableOfReal: To ClassificationTable
- GaussianMixture & TableOfReal: To Correlation (columns)
- GaussianMixture & TableOfReal: To Table (BHEP normality tests)...
- HMM: Extract emission probabilities
- HMM: Extract transition probabilities
- MFCC: To TableOfReal...
- PCA & Configuration: To TableOfReal (reconstruct)
- PCA & TableOfReal: Get fraction variance...
- PCA & TableOfReal: To Configuration...
- PCA & TableOfReal: To TableOfReal (z-scores)...
- PCA: To TableOfReal (reconstruct 1)...
- Principal component analysis
- SSCP
- SSCP & TableOfReal: Extract quantile range...
- T-test
- TableOfReal & Permutation: Permute rows
- TableOfReal: Centre columns
- TableOfReal: Centre rows
- TableOfReal: Change column labels...
- TableOfReal: Change row labels...
- TableOfReal: Draw biplot...
- TableOfReal: Draw box plots...
- TableOfReal: Draw rows as histogram...
- TableOfReal: Get table norm
- TableOfReal: Normalize columns...
- TableOfReal: Normalize rows...
- TableOfReal: Normalize table...
- TableOfReal: Select columns where row...
- TableOfReal: Set value...
- TableOfReal: Standardize columns
- TableOfReal: To CCA...
- TableOfReal: To Configuration (lda)...
- TableOfReal: To Configuration (pca)...
- TableOfReal: To Correlation
- TableOfReal: To Correlation (rank)
- TableOfReal: To Covariance
- TableOfReal: To Discriminant
- TableOfReal: To GaussianMixture (row labels)...
- TableOfReal: To GaussianMixture...
- TableOfReal: To PatternList and Categories...
- TableOfReal: To PCA
- TableOfReal: To SSCP...
- TableOfReal: To TableOfReal (means by row labels)...
- What was new in 3.5?
- What was new in 3.7?