format.bru_mapper | R Documentation |
mapper object summaries
## S3 method for class 'bru_mapper'
format(x, ..., prefix = "", initial = prefix, depth = 1)
## S3 method for class 'bm_list'
format(
x,
...,
prefix = "",
initial = prefix,
depth = 1,
collapse = ", ",
labels = TRUE
)
## S3 method for class 'bru_mapper'
summary(object, ..., prefix = "", initial = prefix, depth = 1)
## S3 method for class 'bm_multi'
format(x, ..., prefix = "", initial = prefix, depth = 1)
## S3 method for class 'bm_pipe'
format(x, ..., prefix = "", initial = prefix, depth = 1)
## S3 method for class 'bm_collect'
format(x, ..., prefix = "", initial = prefix, depth = 1)
## S3 method for class 'bm_sum'
format(x, ..., prefix = "", initial = prefix, depth = 1)
## S3 method for class 'bm_repeat'
format(x, ..., prefix = "", initial = prefix, depth = 1)
## S3 method for class 'summary_bru_mapper'
print(x, ..., sep = "\n")
## S3 method for class 'bru_mapper'
print(x, ..., sep = "\n", prefix = "", initial = prefix, depth = 1)
## S3 method for class 'bm_list'
print(
x,
...,
sep = "\n",
prefix = "",
initial = prefix,
depth = 1,
labels = TRUE,
collapse = ", "
)
x |
Object to format/print |
... |
Unused arguments |
prefix |
character prefix for each line. Default |
initial |
character prefix for the first line. Default |
depth |
The recursion depth for multi/collection/pipe mappers. Default 1, to only show the collection, and not the contents of the sub-mappers. |
collapse |
character or NULL, as in |
labels |
logical; if TRUE, include mapper names or numerical indices.
Default |
object |
Object to summarise |
sep |
character; separator for printing the summary. |
mapper <-
bm_pipe(
list(
bm_multi(list(
A = bm_index(2),
B = bm_index(3)
)),
bm_index(2)
)
)
summary(mapper, depth = 2)
mapper <-
bm_repeat(
bm_multi(
list(
A = bm_index(2),
B = bm_index(3)
)
),
3
)
summary(mapper)
summary(mapper, depth = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.