Description Usage Arguments Value Author(s) See Also Examples
This function provides the default formatter for the
hmr
function; it assumes that the key is
seperated from the rest of the row by a tab character,
and the elements of the row are seperated by the pipe
("|") character. Vector and matrix objects returned from
the output of a map or reduce step in hmr
should be directly readable by .default.formatter
.
1 |
x |
character vector (each element is treated as a row) or a raw
vector (LF characters |
Either a character matrix with a row for each element in the input, or a character vector with an element for each element in the input. The latter occurs when only one column (not counting the key) is detected in the input. The keys are stored as rownames or names, respectively.
Simon Urbanek
1 2 3 4 5 | c <- c("A\tB|C|D", "A\tB|B|B", "B\tA|C|E")
.default.formatter(c)
c <- c("A\tD", "A\tB", "B\tA")
.default.formatter(c)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.