tflash_kron: Tensor FLASH assuming a diagonal Kronecker structured...

Description Usage Arguments Author(s)

Description

Tensor FLASH assuming a diagonal Kronecker structured covariance model.

Usage

1
2
3
4
tflash_kron(Y, tol = 10^-5, itermax = 100, alpha = 0, beta = 0,
  mixcompdist = "normal", nullweight = 10, print_update = FALSE,
  start = c("first_sv", "random"), known_modes = NULL,
  known_factors = NULL, homo_modes = NULL)

Arguments

Y

An array of numerics. The data.

tol

A positive numeric. The stopping criterion for the VEM.

itermax

A positive integer. The maximum number of iterations to run the VEM

alpha

A non-negative numeric. The prior shape parameter for the variance. Defaults to zero.

beta

A non-negative numeric. The prior rate parameter for the variance. Defaults to zero.

mixcompdist

The mixing distribution to assume. Defaults to normal. Options are those available in the ashr package.

nullweight

A numeric greater than or equal to 1. The penalty term on the probability of zero.

print_update

A logical. Should we print notifications on how far along the optimization is?

start

How should we choose the starting values? Either using the first singular vector along each mode ("first_sv") or randomly ("random").

known_modes

A vector of integers. The modes that are known. Should be the same length as known_factors.

known_factors

A list of known factors for the modes indicated in known_modes. Defaults to NULL, where all factors are assumed to be unknown.

homo_modes

A vector of integers. If var_type = "kronecker" then homo_modes indicates which modes are assumed to be homoscedastic.

Author(s)

David Gerard


kkdey/flashr documentation built on May 20, 2019, 10:36 a.m.