get_model: Retrieve model from a musica or result collection object

get_modelR Documentation

Retrieve model from a musica or result collection object

Description

Extract the result_model object from the musica or result_collection object that contains the model.

Usage

get_model(x, ...)

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

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

Arguments

x

A musica or result_collection object.

...

Other inputs

result

The name of the result_list entry.

modality

The modality.

model

The name of the model.

Value

A result_model object

Examples

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

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