refit: Fit a model using the parameter set from another model

Description Usage Arguments Value

Description

Refit the model with a specified parameter set while keeping parameters constant Fit a model using the parameter set from another model

Usage

1
2
3
4
5
refitModel(mra_model, parameter_set = c(), vary_param = c(),
  inits = 100, nb_cores = 1, method = "randomlhs", fit_name = "")

fitFromModel(mra_model, parameters_model, vary_param = c(),
  inits = 100, nb_cores = 1, method = "randomlhs", fit_name = "")

Arguments

mra_model

A MRAmodel object

parameter_set

A vector of values used as parameters for the model. There must be a many values as there are parameters, or one that will be used for all parameters.

vary_param

A vector of index or name of the parameters to refit, the others will be kept constant. Repetitions or redundant information (index and name designating the same parameter) are removed.

inits

Number of random initialisations for the variable parameters

nb_cores

Number of processes to use for the refitting. 0 to use all cores of the machines but one.

method

Method to use for the sample generation for the random initialisations

fit_name

Name of the refit for the title of the plots

Value

The refitted model as an MRAmodel object.


molsysbio/STASNet documentation built on May 29, 2019, 5:45 a.m.