TemplateList-class {monitoR} | R Documentation |
Class "TemplateList"
Description
A template is an object with acoustic information (frequency, time, and volume) on an animal volcalization.
In monitoR, all templates are stored within a template list, which has the (virtual) class TemplateList
.
Because the structure of the two types of templates differs slightly (see Template
), there are actually two classes for template lists: corTemplateList
and binTemplateList
, and the virtual class TemplateList
(which includes both types of template lists) is used to define most methods.
Objects from the Class
Objects can be created by calls of the form new("corTemplateList", ...)
or new("binTemplateList", ...)
.
However, objects should always be created with the template-creation functions makeCorTemplate
or makeBinTemplate
, or else by reading from a file using readCorTemplates
or readBinTemplates
.
There are also functions for modifying existing template lists or extracting template lists from other objects.
Slots
templates
:Object of class
"list"
A list of eithercorTemplate
orbinTemplate
objects.
Extends
Classes corTemplateList
and binTemplateList
extend the virtual class TemplateList
, directly.
Methods
show
signature(object = "corTemplateList")
: ...summary
signature(object = "corTemplateList")
: ...show
signature(object = "binTemplateList")
: ...summary
signature(object = "binTemplateList")
: ...plot
signature(x = "TemplateList", y = "ANY")
: ...
Note
For details on the structure of the actual templates, see Template
.
Author(s)
Sasha D. Hafner
See Also
Template
,
combineBinTemplates
,
templateCutoff
,
templateComment
,
getTemplates
,
plot-methods
,
[-methods
Examples
showClass("TemplateList")
showClass("corTemplateList")
showClass("binTemplateList")