Learn R Programming

RprobitB (version 1.2.0)

update_U_ranked: Update ranked utility vector

Description

Update ranked utility vector

Usage

update_U_ranked(U, sys, Sigma_inv)

Value

An update for (a single) ranked U.

Arguments

U

[numeric(J - 1)]
The current utility vector.

sys

[numeric(J - 1)]
The systematic utility.

Sigma_inv

[matrix(J - 1, J - 1)]
The inverted error covariance matrix.

Examples

Run this code
U <- sys <- c(0, 0)
Sigma_inv <- diag(2)
update_U_ranked(U, sys, Sigma_inv)

Run the code above in your browser using DataLab