Description Usage Arguments Value Examples
Peek is a simple utility to conveniently look at a portion of a matrix. This is similar to head and tail but provides a 2-dimensional slice instead of a complete row. This is useful for debugging and inspecting matrices.
1 | peek(x, upper = 5, lower = 1)
|
x |
Any object that supports subsetting |
upper |
The upper bound in the subsetting |
lower |
The lower bound in the subsetting |
A subset of the original matrix, data.frame, etc.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.