getRfmWeights: Get RFM weights

getRfmWeightsR Documentation

Get RFM weights

Description

Get RFM weights

Usage

getRfmWeights(df, formula, family = "binomial", show = TRUE)

Arguments

df

data frame or tibble.

formula

formula for the Generalized Linear Model (GLM).

family

family for the GLM; optional, default value is binomial.

show

show regression table and weights; optional, default value is TRUE.

Value

A list containing an atomic vector of weights and a GLM model.


maxleungtszchun/customerAnalytics documentation built on July 27, 2023, 9:24 a.m.