Returns value of a track attribute.
gtrack.attr.get(track = NULL, attr = NULL)
track name
attribute name
Track attribute value.
This function returns the value of a track attribute. If the attribute does not exist an empty sting is returned.
# \dontshow{
options(gmax.processes = 2)
# }
gdb.init_examples()
gtrack.attr.set("sparse_track", "test_attr", "value")
gtrack.attr.get("sparse_track", "test_attr")
#> [1] "value"
gtrack.attr.set("sparse_track", "test_attr", "")