Description Usage Arguments Examples
Rearrange the reference look-up table so that codes in a single column.
1 |
codes |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (codes)
{
codes$Code <- clean.ref(codes$Code)
x <- aggregate(codes, by = list(codes$Group), paste, collapse = ",")[,
1:2]
write.table(x, file = ".\Reference_tables\matchcodesGrouped.txt",
sep = "\t")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.