gtrack.attr.set | R Documentation |
Assigns value to a track attribute.
gtrack.attr.set(track = NULL, attr = NULL, value = NULL)
track |
track name |
attr |
attribute name |
value |
value |
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.
None.
gtrack.attr.get
, gtrack.attr.import
,
gtrack.var.set
, gdb.get_readonly_attrs
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", "")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.