linearrelation {icmm}R Documentation

Linear structure of predictors

Description

This data frame is used as an example to store the structure of predictors or the edge set of an undirected graph. For this data frame, the linear chain is assumed for each predictor.

Usage

data(linearrelation)

Format

A data frame with 400 observations and 2 variables as follows.

Index

an index of the predictor/node which has at least one edge.

EdgeIndices

a string of all indices having an edge connected to Index separated by semicolon(;).

Details

This structure of predictors assumes a linear chain for each predictor which its immediate neighbors. For example, j-predictor is connected to (j-1)-predictor and (j+1)-predictor. The example for the entry in the data frame is Index="5" and EdgeIndices="4;6".

Examples

data(linearrelation)
# To see the format of linearrelation data frame
head(linearrelation)

[Package icmm version 1.2 Index]