overlapMatrix: Compute a matrix indicating overlaps between groups

Description Usage Arguments Details Value Author(s) Examples

View source: R/overlapMatrix.R

Description

Compute a matrix indicating the number of overlaps between groups.

Usage

1

Arguments

X

The design matrix, without an intercept, as in grpregOverlap.

group

A list of vectors containing group information, as in grpregOverlap.

Details

This function is intended to provide an interface for users to check the overlapping structure among groups.

Value

A square (sparse) matrix C: C[i, j] is the number of overlapped variables between group i and j. Diagonal value C[i, i] is the number of variables in group i.

Author(s)

Yaohui Zeng <yaohui-zeng@uiowa.edu>

Examples

1
2
3
4

YaohuiZeng/grpregOverlap documentation built on Aug. 10, 2020, 3:13 p.m.