find_state_based_cdf: Find CDF of Discrete Random Variable

Description Usage Arguments Value

View source: R/model_helper.R

Description

Find the CDF of state based random variable.

Usage

1
find_state_based_cdf(q, prob_dist, quantiles = NULL, type = "fixed")

Arguments

q

A numeric quantile.

prob_dist

A numeric vector representing the probability distribution at result time.

quantiles

A numeric vector representing quantile of partitioning training set.

type

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

Value

The corresponding probability.


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