HomUHet: fit a two-step penalized regression model

Description Usage Arguments Value

View source: R/HomUHet.R

Description

This function outputs the names of predictors with homogeneous or heterogeneous predictors across multiple data sets, the estimates of predictors, and solution plots

Usage

1
HomUHet(data, solution_path_plot = FALSE)

Arguments

data

The input dataframe containing observations from all studies where the first column is the study label, the second column is the response variable and the following columns are the predictors.

solution_path_plot

TRUE if outputting solution path plots is desired

Value

the names of identified predictors and their estimated effects

Homo

a character string of names of homogeneous predictors

Heter

a character string of N=names of heterogeneous predictors

coefficients

a data frame containing estimated coefficients of the homogeneous and heterogeneous predictors in K studies


Pei-Yang/HomUHet documentation built on Dec. 18, 2021, 6:46 a.m.