Description Usage Arguments Value Examples
Extract a disto object in matrix style extraction and via direct
indexing. 'product' specification allows both outer (matrix output, default
option) and inner (vector) product type extraction. For dist backend see:
dist_extract
.
1 2 | ## S3 method for class 'disto'
x[i, j, k, product = "outer"]
|
x |
object of class 'disto' |
i |
(integer vector) row indexes |
j |
(integer vector) column indexes |
k |
(integer vector) direct indexes |
product |
(string) One among: "inner", "outer" |
When product is 'outer', returns a matrix. Else, a vector.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.