Learn R Programming

RSGHB (version 1.0.2)

Example2_D: An example D file

Description

A D file from the second example in the vignette on using RSGHB. The D file contains a row-based representation of the sample covariance for each iteration.

Usage

data(choicedata)

Arguments

See Also

doHB

Examples

Run this code
data(Example2_D)

head(Example2_D)

# building the covariance matrix
covMat <- xpnd(colMeans(Example2_D[-1]))

rownames(covMat) <- c("ASC1","BTime","BCost")
colnames(covMat) <- c("ASC1","BTime","BCost")

covMat

Run the code above in your browser using DataLab