MPKlMatrix: Creates a matrix of specified row of output 'MUPkLo'

Description Usage Arguments Value Author(s) Examples

Description

Specified row of output MUPkLo is a number step of process which computes MUPkLo function.

Usage

1
MPKlMatrix(Mx, step, nc, sta)

Arguments

Mx

output matrix of MUPkLo

step

row name of matrix Mx

nc

number of columns of matrix Mx

sta

vector with column indices of input matrices into MUPkLo

Value

The matrix with nc rows and columnes.

Author(s)

Josef Brejcha

Examples

1
2
3
4
5
6
7
8
A <- array(c(0.9, 0.6, 0.8, 0.05, 0.2, 0.05, 0.05, 0.2, 0.15), c(3, 3))
P <- array(c(0.9, 0.6, 0.8, 0.05, 0.2, 0.05, 0.05, 0.2, 0.15), c(3, 3))
U <- array(c(0.8, 0.8, 0.7, 0.06, 0.02, 0.2, 0.14, 0.18, 0.1), c(3, 3))
sta <- c(1, 2, 3)
k <- c(1, 0, 1, 0)
n <- c(5, 7, 12, 17)
Mx <- MUPkLo(A, P, U, n, k, sta)
M100 = MPKlMatrix(Mx, step = 100, nc = 3, sta = c(1, 2, 3))

MPkn documentation built on May 2, 2019, 2:36 a.m.