R/rfm.R

#' \code{rfm} package
#'
#' Tools for customer segmentation analysis
#'
#' @docType package
#' @keywords internal
#' @name rfm
#' @aliases rfm-package
"_PACKAGE"

## quiets concerns of R CMD check re: the .'s that appear in pipelines
if (getRversion() >= "2.15.1") {
  utils::globalVariables(c(
    ".", "amount", "score", "segment", "revenue", "orders", "mem",
    "date_most_recent", "frequency_bins", "frequency_score", "monetary",
    "monetary_score", "recency_bins", "recency_days", "recency_score",
    "rfm", "rfm_score", "transaction_count", "n", "category", "share",
    "customers", "customer_share", "revenue_share", "prop", "frame",
    "rfm_result", "customer_id"
  ))
}

Try the rfm package in your browser

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

rfm documentation built on May 29, 2024, 11:50 a.m.