UpdateMarket: Updates in/out of market status by moving mimimal population...

Description Usage Arguments Value

Description

Updates in/out of market status by moving mimimal population in/out of the market necessary to match on requested proportion of "in.market" individuals.

Usage

1
2
UpdateMarket(data.dt, target.rate,
  prop.activity = rep(1/length(kActivityStates), length(kActivityStates)))

Arguments

data.dt

data.table containing all state-related data

target.rate

target proportion of consumers 'in-market'

prop.activity

single value between 0 and 1, representing proportion of population to be assigned to each activity state, given they are "responsive," i.e., "in.market" and "unsatiated."

Value

invisible(NULL). data.dt is updated by reference.


google/amss documentation built on May 20, 2019, 5:05 p.m.