View source: R/print.probetable.R
print.probetable | R Documentation |
Prints class(x), nrow(x) and ncol(x), but not the elements of x.
The motivation for having this method is that methods from the package
base
such as
print.data.frame
will try to print the values of all elements of x
, which can
take inconveniently much time and screen space if x
is large.
## S3 method for class 'probetable'
print(x, maxrows, ...)
x |
an object of S3-class |
maxrows |
maximum number of rows to print. |
... |
further arguments that get ignored. |
print.data.frame
a = as.data.frame(matrix(runif(1e6), ncol=1e3))
class(a) = c("probetable", class(a))
print(a)
print(as.matrix(a[2:3, 4:6]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.