get_modality: Retrieve a specific modality entry from a musica or...

get_modalityR Documentation

Retrieve a specific modality entry from a musica or result_collection object

Description

modality list contains model results for a modality

Usage

get_modality(x, ...)

## S4 method for signature 'musica'
get_modality(x, result, modality)

## S4 method for signature 'result_collection'
get_modality(x, modality)

Arguments

x

A result_model or result_collection object

...

Other inputs

result

The name of the result_list entry.

modality

The modality.

Value

A list of modality which contains result_model objects

Examples

data(res)
get_modality(res, "result", "SBS96")

campbio/musicatk documentation built on Dec. 25, 2024, 9:34 p.m.