View source: R/logical-track.R
emr_track.logical.create | R Documentation |
Creates a logical track
emr_track.logical.create(track, src, values = NULL)
track |
one or more names of the newly created logical tracks. |
src |
name of the physical tracks for each logical |
values |
vector of selected values. When creating multiple logical tracks at once
- |
This function creates a logical track based on an existing categorical track in the global space.
Note: Both the logical track and source should be on the global db. If the logical track would be created and afterwards the db would be loaded as non-global db the logical tracks would **not** be visible.
None.
emr_track.logical.create("logical_track_example", "categorical_track", values = c(2, 3))
# multiple tracks
emr_track.logical.create(
c("logical_track1", "logical_track2", "logical_track3"),
rep("categorical_track", 3),
values = list(c(2, 3), NULL, c(1, 4))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.