Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

convert_wideToLong

convert tracks of a tibble trackdata object to the long form


Description

Converts a trackdata tibble object of the form (==wide):

sl_rowIdx ... T1 T2 T3 ... TN
1 ... T1_value T2_value T3_value ... TN_value

to its long form equivalent:

sl_rowIdx ... track_name track_value
1 ... T1 T1_value
1 ... T2 T2_value
1 ... T3 T3_value
... ... ... ...
1 ... TN TN_value

Usage

convert_wideToLong(td, calcFreqs = F)

Arguments

td

wide form trackdata tibble object

calcFreqs

calculate an additional column containing frequency values from 0-nyquist frequency that match T1-TN (can be quite useful for spectral data)

Value

long form trackdata tibble object


emuR

Main Package of the EMU Speech Database Management System

v2.2.0
GPL (>= 2)
Authors
Raphael Winkelmann [aut, cre], Klaus Jaensch [aut, ctb], Steve Cassidy [aut, ctb], Jonathan Harrington [aut, ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.