Description Usage Arguments Details Value Examples
This function returns the block size of a symDMatrix
object.
1 |
x |
A |
last |
A boolean indicating whether to return the block size of the last
( |
The last block of a column/row may be smaller than the other blocks. Its
size can be retrieved by setting last
to TRUE
.
The block size of a symDMatrix
object.
1 2 3 4 5 6 7 8 | # Load example symDMatrix (G)
load.symDMatrix(system.file("extdata", "G.RData", package = "symDMatrix"), readonly = TRUE)
# Get the block size
blockSize(G)
# Get the block size of the trailing blocks
blockSize(G, last = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.