opts_array {constructive} | R Documentation |
Constructive options for arrays
Description
These options will be used on arrays. Note that arrays can be built on top of
vectors, lists or expressions. Canonical arrays have an implicit class "array"
shown by class()
but "array" is not part of the class attribute.
Usage
opts_array(constructor = c("array", "next"), ...)
Arguments
constructor |
String. Name of the function used to construct the object, see Details section. |
... |
Additional options used by user defined constructors through the |
Details
Depending on constructor
, we construct the object as follows:
-
"array"
(default): Use thearray()
function -
"next"
: Use the constructor for the next supported class. Call.class2()
on the object to see in which order the methods will be tried.
Value
An object of class <constructive_options/constructive_options_array>
[Package constructive version 1.0.1 Index]