The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
clustTMB fits finite mixture models that incorporate both covariate and random effect structure within either the gating, the expert, or both components of the model. The clustTMB model is built in Template Model Builder (TMB) and implemented in R using formula syntax similar to other finite mixture modeling packages such as mclust. The TMB structure of the finite mixture model allows for fast computations of random effects by using the Laplace Approximation to calculate the marginal likelihood of fixed effects after integrating out random components. Spatial random effects are estimated through approximations of the Gaussian Markov Random Fields via the FEM-SPDE method introduced by INLA.
You can install the development version from GitHub with:
::install_github("Andrea-Havron/clustTMB", build_vignettes = TRUE) remotes
A basic example is illustrated with the faithful dataset:
library(clustTMB)
data("faithful")
<- clustTMB(response = faithful, covariance.structure = "VVV") m1
For more detailed examples, see vignettes:
## Not Run
# install.packages("utils")
::browseVignettes("clustTMB")
utils
## End Not Run
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.