R/mixvlmc-package.R

#' @section Package options:
#'
#' Mixvlmc uses the following [options()]:
#'
#' - `mixvlmc.maxit`: maximum number of iterations in model fitting for [covlmc()]
#' - `mixvlmc.predictive`: specifies the computing engine used for model fitting
#'    for [covlmc()]. Two values are supported:
#'    - `"glm"` (default value): [covlmc()] uses [stats::glm()] with a binomial
#'       link ([stats::binomial()]) for a two values state space, and [VGAM::vglm()]
#'       with a multinomial link ([VGAM::multinomial()]) for a state space with
#'       three or more values;
#'    - `"multinom"`: [covlmc()] uses [nnet::multinom()] in all cases.
#'
#'    The first option `"glm"` is recommended as both [stats::glm()] and [VGAM::vglm()]
#'    are able to detect and deal with degeneracy in the data set.
#' - `mixvlmc.backend`: specifies the implementation used for the context tree
#'    construction in [ctx_tree()], [vlmc()] and [tune_vlmc()]. Two values are
#'    supported:
#'    - `"R"` (default value): this corresponds to the original almost pure R
#'      implementation.
#'    - `"C++"`: this corresponds to the experimental C++ implementation. This
#'      version is significantly faster than the R version, but is still
#'      considered experimental.
#'
#' @docType package
"_PACKAGE"

#'
## usethis namespace: start
#' @import Rcpp
#' @importFrom Rcpp evalCpp
#' @importFrom stats simulate
#' @importFrom stats predict
#' @importFrom ggplot2 autoplot
#' @importFrom rlang .data
#' @useDynLib mixvlmc
## usethis namespace: end
NULL
#>

Try the mixvlmc package in your browser

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

mixvlmc documentation built on June 8, 2025, 12:35 p.m.