orderBeta: Generating a partial ordered matrix of beta

Description Usage Arguments Value

View source: R/RcppExports.R

Description

This function generates a matrix of beta with size p*q, with a partial order in both direction. A parameter theta control the possibility of fusion of adjecent beta.

Usage

1
orderBeta(p, q, theta, ref = TRUE)

Arguments

p, q

Dimensions of the beta matrix

theta

Probability that adjacent beta's have the same value

ref

Whether set the first beta to 0

Value

A matrix of beta's


wenshuoliu/rtest documentation built on May 4, 2019, 5:21 a.m.