Description Usage Arguments Details Value See Also
Generic function for subscripting data objects. ss
is a
synonym for subscript
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | subscript(x, i, ...)
ss(x, i, ...)
## Default S3 method:
subscript(x, i, ...)
## S3 method for class 'data.frame'
subscript(x, i, ...)
## S3 method for class 'dist'
subscript(x, i, ...)
## S3 method for class 'phylo'
subscript(x, i, ...)
## S3 method for class 'speciesList'
subscript(x, i, ...)
## S3 method for class 'longDist'
subscript(x, i, reOrder = TRUE, ...)
## S3 method for class 'poly.data.frame'
subscript(x, i, ...)
|
x |
An object with data to be subscripted. |
i |
Indices for the dimensions of replication of |
... |
Not used. |
reOrder |
should the order be arranged to be consistent with
|
Data frames are subscripted by rows (i.e. replicates) only.
A subscripted version of x
.
Specific subscript
methods are available for
data.frame
, dist
, phylo
,
speciesList
, longDist
, and
poly.data.frame
objects. The
subscript-package
help page has many examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.