### =========================================================================
### The dims(), nrows() and ncols() generics
### -------------------------------------------------------------------------
###
setGeneric("dims", signature="x",
function(x, use.names=TRUE) standardGeneric("dims")
)
setGeneric("nrows", signature="x",
function(x, use.names=TRUE) standardGeneric("nrows")
)
setGeneric("ncols", signature="x",
function(x, use.names=TRUE) standardGeneric("ncols")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.