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

donaldRwilliams/GGMnonreg documentation built on May 13, 2021, 11:57 a.m.