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 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.