Fit a simple linear model to get initial values for regression coefficients associated with covariates
1 | getInitialEstimatesCovariates(dist, covariates, times, outcomes)
|
dist |
the distribution of the outcome ("gaussian" or "binary") |
covariates |
data frame containing covariate values |
times |
vector of observation times |
outcomes |
vector of outcomes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.