Description Usage Arguments Value Note Examples
A dispaly printing function that trunates data.frame
/matrix
by
adding ellipsis ... to take the place of non-displayed columns and rows.
sotrunc.matrix
- matrix method for sotrunc
sotrunc.data.frame
- data.frame method for sotrunc
sotrunc.list
- list method for sotrunc
sotrunc.default
- Default method for sotrunc
1 2 3 4 5 6 7 8 9 10 11 12 13 | sotrunc(x, ncol = 10, nrow = 15, ...)
## S3 method for class 'matrix'
sotrunc(x, ncol = 10, nrow = 15, ...)
## S3 method for class 'data.frame'
sotrunc(x, ncol = 10, nrow = 15, ...)
## S3 method for class 'list'
sotrunc(x, ncol = 10, nrow = 15, ...)
## Default S3 method:
sotrunc(x, ncol = 10, nrow = 15, ...)
|
x |
An R object (usually a |
ncol |
The number of columns (including 3 columns displayed as ellipsis) to display. |
nrow |
The number of rows (including 3 rows displayed as ellipsis) to display. |
... |
Other arguments passed to |
Prints a truncated display of the input.
This function is intended for truncated display. Please do not use to gernarate your SSCCE (Short, Self Contained, Correct (Compilable), Example).
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.