find_state_num: Find Corresponding State

Description Usage Arguments Value

View source: R/model_helper.R

Description

Find the corresponding state for a specific observation with fixed partitioning method.

Usage

1
find_state_num(obs, type, state_num = NULL, quantiles = NULL)

Arguments

obs

A numeric input of observation.

type

A character that can either be "fixed" or "quantile".

state_num

The total number of states.

Value

The corresponding state number.


carlonlv/DataCenterSim documentation built on Jan. 9, 2022, 3:26 p.m.