write.jags.NECHormesis.mod: write.jags.NECHormesis.mod

Description Usage Arguments Value

View source: R/Write_jags_NECHormesisMod.R

Description

Writes an NEC model file for a three parameter model (top, beta and NEC), but allowing a slope to occur before the NEC value to accommodate hormesis. A function for generating initial values to pass to jags is also define.

Usage

1
write.jags.NECHormesis.mod(x = "gamma", y, mod.dat)

Arguments

x

the statistical distribution to use for the x (concentration) data. This may currently be one of 'beta', 'gaussian', or 'gamma'. Others can be added as required, please contact the package maintainer.

y

the statistical distribution to use for the y (response) data. This may currently be one of 'binomial', 'beta', 'poisson', 'gaussian', or 'gamma'. Others can be added as required, please contact the package maintainer.

mod.dat

the model data to use

Value

an init function to pass to jags


AIMS/NEC-estimation documentation built on Dec. 7, 2020, 10:44 a.m.