data.hub: Data Analysis using penalized hub model

View source: R/datahub.R

data.hubR Documentation

Data Analysis using penalized hub model

Description

Data Analysis using penalized hub model

Usage

data.hub(data, M, Lam, bootstrap = 0)

Arguments

data

observed group data, the first M colunmns are corresponding to hub nodes

M

size of potential hub set

Lam

a vector of tunning parameter \lambda

bootstrap

number of bootstrap times

Value

a matrix of hub nodes weight for different Lam

Examples

data(bakery5000)
Lam = seq(0.015,0.035,0.005)
data.hub(bakery5000,40,Lam,0) # full data
data.hub(bakery5000,40,Lam,2) # bootstrapped data
  

zhibinghe/Phub documentation built on Feb. 21, 2025, 11:52 a.m.