| class_mixtime | R Documentation |
class_mixtime is the base S7 class for all mixtime vector objects,
inheriting from vecvec::class_vecvec. While not intended to be used
directly, this S7 class is suitable to use when defining S7 methods for
mixtime vectors. S3 methods can be defined using the mixtime::mixtime
class.
When called as a constructor, its arguments are passed to the
vecvec::class_vecvec() constructor:
x: A list of "mt_time" vectors, see mt_linear() for details.
i: A vector of integers specifying the location of each element in
x as if they were combined in order. Defaults to a sequence from 1 to
the total number of elements across all vectors in x.
When used as a class definition (e.g., in S7::method(generic, class_mixtime)), an S7 class object representing the mixtime class,
inheriting from vecvec::class_vecvec. When called as a constructor
(class_mixtime(list(...))), a mixtime vector of S7 class mixtime
(also inheriting the S3 class "mixtime"), containing the supplied list
of time vectors as a vecvec::class_vecvec structure. End users should
prefer mixtime() or new_mixtime() for construction.
mixtime() for creating mixtime vectors, and new_mixtime() for
the low-level constructor function of this S7 class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.