View source: R/posteriordistribcurve.R

Internal function. Finds the posterior mean on the fine grid `tgrid`

for every subject.

1 | ```
posteriordistribcurve(muhatmatrix, Sigmahat, sigma, tobs, d, YI)
``` |

`muhatmatrix` |
Posterior mean at the observation times |

`Sigmahat` |
Posterior covariance at the observation times |

`sigma` |
Infinitessimal standard deviation of the tied-down Brownian motion in the prior. |

`tobs` |
Row vector of n observation times (in increasing order, same for each subject). |

`d` |
Number of time points on the fine grid. |

`YI` |
An N times (n-1) matrix with rows given by the values of |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.