Learn R Programming

sysAgNPs (version 1.0.0)

sys_steady: Iterate to obtain the steady state probability

Description

Change the values of the constraints step by step and record the number of iterations to reach the steady state.

Usage

sys_steady(
  binary_dataset,
  tran_matrix,
  tol_vec = c(0.01, 0.001, 1e-04, 1e-05, 1e-06, 1e-07)
)

Value

A data frame containing the constraints and the number of iterations to reach the steady state.

Arguments

binary_dataset

A binary dataframe of datasets used to establish evaluation criteria.

tran_matrix

A transfer probability matrix.

tol_vec

A smaller constants used as constraints.

Examples

Run this code
data(binary_dataset)
data(tran_matrix)
tol_iter <- sys_steady(binary_dataset, tran_matrix, 1e-5)

Run the code above in your browser using DataLab