View source: R/dsdive.impute.sample_n.R
Uses properties of homogeneous Continuous time Markov Chains (CTMCs) to sample the number of transitions between known endpoints and times.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | dsdive.impute.sample_n(
d0,
df,
s0,
sf,
t0,
tf,
t.stages,
rate.unif,
P.raw,
P.tx,
n.bins,
max.tx
)
|
d0 |
index of depth bin in which the CTMC segment starts |
df |
index of depth bin in which the CTMC segment ends |
s0 |
dive stage in which the CTMC begins |
sf |
dive estage in which the CTMC ends |
t0 |
time at which |
tf |
time at which |
t.stages |
stage transition times for the dive |
rate.unif |
uniformization rate, for standardizing transition rates between states |
P.raw |
list of continuous time probability transition matrices, and components. |
P.tx |
list of discrete time probability transition matrices |
n.bins |
number of rows in the |
max.tx |
maximum number of transitions between observations that will be allowed during imputation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.