| blockNames | R Documentation |
Return the block names of a MultiBlock object.
blockNames(x, ...)
## S4 method for signature 'MultiBlock'
blockNames(x, slot = "Data")
x |
A MultiBlock object. |
... |
Not used. Present for S4 generic dispatch compatibility. |
slot |
A string: |
A character vector with the block names of the requested slot.
b1 <- matrix(rnorm(500), 10, 50)
b2 <- matrix(rnorm(800), 10, 80)
mb <- MultiBlock(Data = list(b1 = b1, b2 = b2))
blockNames(mb) # c("b1", "b2")
blockNames(mb, "Data") # same
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.