parameter: Retrieve parameter from a musica or result_collection object

parameterR Documentation

Retrieve parameter from a musica or result_collection object

Description

The parameter contains input parameters used in the model

Usage

parameter(x, ...)

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

## S4 method for signature 'result_collection'
parameter(x)

parameter(x, ...) <- value

## S4 replacement method for signature 'result_collection,list'
parameter(x) <- value

## S4 replacement method for signature 'musica,list'
parameter(x, result) <- value

Arguments

x

A result_model or result_collection object

...

Other inputs

result

The name of the result_list entry.

value

a list of input parameters

Value

a list of parameters

Examples

data(res)
parameter(res, "result")

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