hasPar-model-method: Checks for parameters.

Description Usage Arguments Value See Also Examples

Description

hasPar checks if the model has parameters defined.

Usage

1
2
## S4 method for signature 'model'
hasPar(object, verbose = FALSE)

Arguments

object

An S4 model object.

verbose

A logical indicating, if the function should give a print out.

Value

A matrix with repetitions. Can be empty, if no repetitions are set.

See Also

Examples

1
2
3
4
## Not run: 
if(hasPar(model)) {simulate(model)}

## End(Not run)

simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.