getTemplates: Extract a Template List

Description Usage Arguments Details Value Author(s) See Also

View source: R/getTemplates.R

Description

Use this function to extract template lists from templateScores or detectionList objects.

Usage

1
getTemplates(object, which.ones = names(object@templates))

Arguments

object

The templateScores or detectionList object that contains the templates that are to be extracted.

which.ones

Which templates should be included? A character vector of templates names, or an integer vector. Default is all templates.

Details

This function would typically be used to extract and save a complete set of templates from a detectionList object if templateCutoff has been used to modify the template list after scores were calculated. getTemplates could also be used to extract a subset of templates present in a template list, but indexing with square brackets is an easier approach.

Value

A template list of class corTemplateList or binTemplateList.

Author(s)

Sasha D. Hafner

See Also

makeCorTemplate, makeBinTemplate, templateCutoff, templateComment


monitoR documentation built on May 1, 2019, 6:28 p.m.