Learn R Programming

surbayes (version 0.1.1)

fastKronEye_Y: Fast kronecker product with response vector

Description

This is a c++ implementation of the fast kronecker product with response vector

Usage

fastKronEye_Y(Sigma, Y, n, J)

Arguments

Sigma

covariance matrix

Y

matrix of response variables (Y1, ..., YJ)

n

number of observations

J

number of endpoints

Value

Returns a vector with result of kron(Sigma, diag(n)) % y