get_alt_drugname | R Documentation |
Use this function on a string A-B that represents a drug combination, to get the reverse combination name - B-A - for testing/checking data.
get_alt_drugname(drug.comb)
drug.comb |
a string in the form drugname.1-drugname.2 (no spaces between the names and the hyphen '-') |
the alternative, yet equivalent drug combination
drug.comb = "A-B"
alt.drug.comb = get_alt_drugname(drug.comb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.