ps_to_T_strict_stayer: Calculates T from a purchase string under the "strict stayer"...

View source: R/ps_to_T_strict_stayer.R

ps_to_T_strict_stayerR Documentation

Calculates T from a purchase string under the "strict stayer" assumption.

Description

Calculates T from a purchase string under the "strict stayer" assumption.

Usage

ps_to_T_strict_stayer(ps)

Arguments

ps

Purchase string.

Value

The numeric value for T, which is the position of the last 1 in the purchase string


CADF documentation built on Oct. 31, 2024, 5:08 p.m.