testModel: Computes the fitting scores for a new parameter set

Description Usage Arguments Value

Description

Test the model with the provided parameter set and returns the fit, the scores and the (possibly updated) parameter set

Usage

1
testModel(mra_model, new_parameters, refit_model = FALSE)

Arguments

mra_model

The MRAmodel object for which the score should be computed

new_parameters

A vector of parameters to use for the new fit

refit_model

Whether the model should be refitted before computing the scores (using the 'mra_model$parameters' as the initial value)

Value

An objet of class MRAmodel


MathurinD/STASNet documentation built on May 28, 2019, 1:50 p.m.