Description Usage Arguments Value See Also Examples
Combines head with a number of columns arguments
1 | top(mat, n = 5)
|
mat |
a matrix or data.frame |
n |
number of rows/ columns to display |
A matrix with the specified number of rows/columns
1 2 3 4 | ## Not run: x = matrix(rnorm(10),ncol = 5)
top(x, n = 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.