R/package.R

#' Stan Models for the Pairwise Comparison Factor Model
#'
#' @docType package
#' @name pcFactorStan-package
#' @aliases pcFactorStan
#'
#' @description
#' \pkg{pcFactorStan} makes it easy to fit the paired comparison
#' factor model using \pkg{rstan}.
#'
#' A user will generally want to use \code{\link{prepData}} and
#' \code{\link{pcStan}} to fit a model.
#'
#' The package includes a number of Stan models (see
#' \code{\link{findModel}} for a list) and an example dataset
#' \code{\link{phyActFlowPropensity}}.
#'
#' After gaining some experience with the pre-defined models, we
#' anticipate that users may write their own Stan models and fit them
#' with \code{\link[rstan]{stan}}, for which \code{\link{pcStan}} is a
#' wrapper.
#'
#' @useDynLib pcFactorStan, .registration = TRUE
#' @importFrom Rcpp loadModule
#' @importFrom lifecycle deprecate_soft
#' @import methods
#'
NULL

Try the pcFactorStan package in your browser

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

pcFactorStan documentation built on Sept. 14, 2023, 1:09 a.m.