eip: Edge Inclusion "Probability"

Description Usage Arguments Details Value Examples

View source: R/eip.R

Description

Compute the proportion of bootstrap samples that each relation was selected.

Usage

1
eip(Y, method = "pearson", B = 1000, progress = TRUE)

Arguments

Y

The data matrix of dimensions n (observations) by p (nodes).

method

Character string. Which type of correlation coefficients to be computed. Options include "pearson" (default), "kendall", "spearman", and "polychoric".

B

Integer. Number of bootstrap replicates (defaults to 1000).

progress

Logical. Should a progress bar be included (defaults to TRUE)?

Details

The order is the upper-triangular.

Value

An object of class eip, including a matrix of edge inclusions.

Examples

1
2
3
4
5
6
7
8
# data
Y <- ptsd

# eip
fit_eip <- eip(Y, method = "spearman")

# print
fit_eip

GGMnonreg documentation built on April 8, 2021, 5:06 p.m.