Description Usage Arguments Details Value
Checks the initial values before they are passed to Stan to make sure they are appropriate.
1 | check_init_chain(single.init.list, type = c("pheno", "geno"))
|
single.init.list |
The list of initial values to be checked. |
type |
Are the intial values for a phenotypic cline or genetic cline: "pheno", or "geno"? Only affects limit checking for the pmin and pmax initial values, which must be between 0 and 1 for genetic clines. |
Used internally, in prep_init_list
.
Checks that: width is positive, delta parameters are positive, tau parameters, pmin/pmax, and f are between 0 and 1, and that pmin is less than pmax.
NULL, if no problems, otherwise a vector of parameters which have inappropriate initial values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.