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

dextract.lab

Extract a subset of data from a trackdata object


Description

Extract a subset of data from a trackdata object according to the label in the parallel label vector.

Usage

dextract.lab(dataset, labs, labtype = unique(labs))

Arguments

dataset

A trackdata object returned from track.

labs

A vector of labels parallel to trackdata$index, i.e. one for each segment in the trackdata.

labtype

A vector of labels for which data is to be extracted.

Value

A trackdata object which is a subset of trackdata containing only the data for those labels in labtype. The result has the same components as the input trackdata:

data

A vector or matrix of numerical data.

index

A two column matrix giving the start and end indeces into the data vector for each segment.

ftime

A two column matrix giving the start and end times for each segment.

See Also

track, dextract, get.time.element, frames.time


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.