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

addTrack

Add a track to an AsspDataObj


Description

Add a track to an AsspDataObj

Usage

addTrack(dobj, trackname, data, format = "INT16", deleteExisting = FALSE)

Arguments

dobj

The data object to which the data is to be added

trackname

The name of the new track

data

a matrix with values

format

format for binary writing to file (defaults to 'INT16')

deleteExisting

Delete existing track with the same (default: FALSE)

Details

The specified data object is extended by a new track named trackname. If there already is a track with the same name and deleteExisiting is FALSE the function does nothing but returns with an error. If deleteExisting is TRUE the existing track will be removed (see delTrack. data to be added is a numeric matrix (or will be coerced to one). It must have the same number of rows as the tracks that already exist in the object (if any). TODO add format information.

Value

the object including the new track

Author(s)

Lasse Bombien

See Also


wrassp

Interface to the 'ASSP' Library

v1.0.0
GPL (>= 3)
Authors
Raphael Winkelmann [aut, cre], Lasse Bombien [aut], Michel Scheffers [aut]
Initial release

We don't support your browser anymore

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