Learn R Programming

morseTKTD (version 0.1.3)

SurvSD_cst: Internal predict function

Description

Survival function for "SD" model with external concentration changing with time

Usage

SurvSD_cst(Cw, time, kd, hb, z, kk, interpolate_length = NULL)

Value

A data.frame with exposure columns time and conc and the resulting probabilisty of survival in Psurv_XX column where XX refer to an MCMC iteration

Arguments

Cw

A vector of external concentration

time

A vector of time

kd

a vector of parameter

hb

a vector of parameter

z

a vector of parameter

kk

a vector of parameter

interpolate_length

can be used to provide a sequence from 0 to maximum of the time of exposure in original dataset (used for fitting).