opts_matrix | R Documentation |
Matrices are atomic vectors, lists, or objects of type "expression"
with a "dim"
attributes of length 2.
opts_matrix(constructor = c("matrix", "array", "cbind", "rbind", "next"), ...)
constructor |
String. Name of the function used to construct the object. |
... |
Additional options used by user defined constructors through the |
Depending on constructor
, we construct the object as follows:
"matrix"
: We use matrix()
"array"
: We use array()
"cbind"
,"rbind"
: We use cbind()
or "rbind()"
, this makes named
columns and rows easier to read.
"next"
: Use the constructor for the next supported class. Call .class2()
on the object to see in which order the methods will be tried. This will usually
be equivalent to "array"
"atomic"
: We define as an atomic vector and repair attributes
An object of class <constructive_options/constructive_options_matrix>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.