Description Usage Arguments Value Author(s) Examples
Auxiliary function to convert the occupancy matrix.
1 | occupancy_to_human(x, to=c("", "<", ">", "v", "^"))
|
x |
A |
to |
A |
occupancy_to_human()
returns an object of the same type as
x
but re-encoded in the values of to
.
Marius Hofert
1 2 3 4 5 | info <- unfold(nVars=4, n2dcol=2) # unfold information for 4 variables
occ <- info$occupancy # occupancy matrix
occupancy_to_human(occ)
occupancy_to_human(occ, to=c("", "l", "r", "d", "u"))
occupancy_to_human(occ, to=c("", "-", "-", "|", "|"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.