Provides functions to calculate the best linear unbiased prediction of genotype-by-environment metrics: ecovalence, environmental variance, Finlay and Wilkinson regression and Lin and Binns superiority measure, based on a multi-environment genomic prediction model.

Provides a comprehensive interface for Google Gemini API,
  enabling users to access and utilize Gemini Large Language Model (LLM) functionalities directly from R.
  This package facilitates seamless integration with Google Gemini, allowing for advanced language processing,
  text generation, and other AI-driven capabilities within the R environment.
  For more information, please visit <https://ai.google.dev/docs/gemini_api_overview>.

Fits a multivariate linear mixed effects model that uses a polygenic term, after Zhou & Stephens (2014) (<https://www.nature.com/articles/nmeth.2848>). Of particular interest is the estimation of variance components with restricted maximum likelihood (REML) methods. Genome-wide efficient mixed-model association (GEMMA), as implemented in the package 'gemma2', uses an expectation-maximization algorithm for variance components inference for use in quantitative trait locus studies.

Two-step modeling with separation of sources of variation through analysis of variance and subsequent multivariate
   modeling through a range of unsupervised and supervised statistical methods. Separation can focus on removal of interfering 
   effects or isolation of effects of interest. EF Mosleth et al. (2021) <doi:10.1038/s41598-021-82388-w> and EF Mosleth et al. 
   (2020) <doi:10.1016/B978-0-12-409547-2.14882-6>.

Simulate and analyze multistate models with general hazard
    functions. gems provides functionality for the preparation of hazard functions
    and parameters, simulation from a general multistate model and predicting future
    events. The multistate model is not required to be a Markov model and may take
    the history of previous events into account. In the basic version, it allows
    to simulate from transition-specific hazard function, whose parameters are
    multivariable normally distributed.