R/ngme2-package.R

Defines functions .onAttach

#' Inference and prediction for mixed effects models with flexible non-Gaussian and Gaussian distributions.
#'
#' @name ngme2
#' @keywords internal 
"_PACKAGE"
#' @import Rcpp
#' @importFrom Rcpp evalCpp
#' @importFrom stats aggregate as.formula delete.response density dgamma dnorm formula median model.frame model.matrix qgamma qlogis quantile rnorm rgamma sd setNames simulate terms terms.formula
#' @importFrom methods as
#' @importFrom utils capture.output str head tail modifyList
#' @importFrom ggplot2 ggplot aes geom_line xlab ylab guides labs geom_hline
#' @importFrom rlang .data
#' @importFrom fmesher fm_mesh_1d fm_mesh_2d fm_basis fm_fem
#' @importFrom graphics hist
#' @importFrom stats dist
#' @useDynLib ngme2, .registration = TRUE
#' @name ngme2
NULL

utils::globalVariables(c("density", "mean_moving_avg"))

.onAttach <- function(libname, pkgname) {
  version <- utils::packageVersion("ngme2")
   packageStartupMessage(
    "This is ngme2 of version ", version, "\n",
    "- See our homepage: https://davidbolin.github.io/ngme2 for more details."
  )
}

Try the ngme2 package in your browser

Any scripts or data that you put into this service are public.

ngme2 documentation built on May 20, 2026, 9:10 a.m.