Learn R Programming

embryogrowth (version 9.5)

ChangeSSM: Generate set of parameters for different forms of thermal norm of reaction

Description

Generate a set of parameters for thermal reaction norm model.
If initial.parameters is NULL and resultmcmc is not NULL, it will generate parameters and SE based on the average of the curves.

Usage

ChangeSSM(
  result = NULL,
  resultmcmc = NULL,
  temperatures = seq(from = 20, to = 35, by = 0.1),
  parameters = NULL,
  initial.parameters = NULL,
  fixed.parameters = NULL,
  outmcmc = "quantiles",
  progressbar = TRUE,
  ...
)

Value

A vector with parameters or a result object formatted with new parameters is result is non null

Arguments

result

A result obtained by searchR()

resultmcmc

A result obtained by GRTRN_MHmcmc()

temperatures

A vector with incubation temperatures in degrees Celsius

parameters

A vector of parameters for model to be converted. Not necessary if result is provided.

initial.parameters

NULL or a vector of parameters for initial model model to be fited

fixed.parameters

NULL of a vector of parameters to be used but fixed

outmcmc

What statistic will be estimated if a mcmc is provided. Can be "mean-sd" or "quantiles".

progressbar

If TRUE, a progressbar is shown

...

A control list to be used with optim, see ?optim

Author

Marc Girondot

Details

ChangeSSM convert different forms of thermal norm of reaction