as.param: Constructor of an object "param", which is used for better...

Description Usage Arguments

View source: R/func_visual.R

Description

This function constructs a "param" beta from a vector or a matrix of values of the coefficients. A param object can have multiple values of tuning parameter lambda.

Usage

1
as.param(beta.vec, p, q, m = 1, G.levels = NULL, lambda = NULL)

Arguments

p

number of levels of T

q

number of levels of N

m

number of data sets (levels of G)

G.levels

levels of group indicator

lambda

the tuning parameter associated with this beta, could be a scalar or a vector

beta.data

the values of the coefficients. For a single tuning parameter, it is a vector; for multiple tuning parameters, it is a matrix with each row associated with one tuning parameter


WangTJ/glidars documentation built on Jan. 20, 2021, 6:32 p.m.