addTrack | R Documentation |
Add a track to an AsspDataObj
addTrack(dobj, trackname, data, format = "INT16", deleteExisting = FALSE)
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) |
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.
the object including the new track
Lasse Bombien
delTrack
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.