gtrack.attr.set {misha} | R Documentation |
Assigns value to a track attribute
Description
Assigns value to a track attribute.
Usage
gtrack.attr.set(track = NULL, attr = NULL, value = NULL)
Arguments
track |
track name |
attr |
attribute name |
value |
value |
Details
This function creates a track attribute and assigns 'value' to it. If the attribute already exists its value is overwritten.
If 'value' is an empty string the attribute is removed.
Error is reported on an attempt to modify a value of a read-only attribute.
Value
None.
See Also
gtrack.attr.get
, gtrack.attr.import
,
gtrack.var.set
, gdb.get_readonly_attrs
Examples
gdb.init_examples()
gtrack.attr.set("sparse_track", "test_attr", "value")
gtrack.attr.get("sparse_track", "test_attr")
gtrack.attr.set("sparse_track", "test_attr", "")
[Package misha version 4.3.6 Index]