| ncol,MultiBlock-method | R Documentation |
Return the number of columns (variables) in each block of a MultiBlock.
## S4 method for signature 'MultiBlock'
ncol(x)
x |
A MultiBlock object. |
A named integer vector with the number of columns per block.
b1 <- matrix(rnorm(500), 10, 50)
b2 <- matrix(rnorm(800), 10, 80)
mb <- MultiBlock(Data = list(b1 = b1, b2 = b2))
ncol(mb) # c(b1 = 50, b2 = 80)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.