xtabs creates a contingency table (optionally a sparse matrix) from
cross-classifying factors, usually contained in a data-frame-like object,
using a formula interface.
NOTE: This man page is for the
xtabs S4 generic function
defined in the BiocGenerics package.
?stats::xtabs for the default method
(defined in the stats package).
Bioconductor packages can define specific methods for objects
not supported by the default method.
A data-frame-like object.
?stats::xtabs for the value returned by the
Specific methods defined in Bioconductor packages should also return the type of object returned by the default method.
stats::xtabs for the default
showMethods for displaying a summary of the
methods defined for a given generic function.
selectMethod for getting the definition of
a specific method.
xtabs,DataTable-method in the S4Vectors
package for an example of a specific
xtabs method (defined
for DataTable objects).
BiocGenerics for a summary of all the generics defined in the BiocGenerics package.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.