BootstrapEdgeDistn: Penalized Partial Correlation Distribution Estimates

Description Usage Arguments Value

View source: R/Bootstrap_Edge_distn.R

Description

Estimates MRFs from bootstrapped subsamples of data to approximate penalized partial correlation distibutions

Usage

1
2
BootstrapEdgeDistn(x, L1, vertices = NULL, subset = NULL, B = 500,
  n_b = 0.5, replace = T, seed = NULL, ...)

Arguments

x

dataset for estimating MRFs. Supplied as data.frame.

L1

Regularization penalty for inducing sparsity in networks

vertices

Vertices to include in MRF. Must be a subset of names(x)

subset

An expression to select a subset of records/rows

B

The number of subsamples to draw

n_b

The size of the subsamples. May be provided as an integer less than the number of rows in x, or as a proportion.

replace

Logical. Is subsampling done with (T) or without (F) replacement.

seed

Random seed value for reproducibility.

...

other arguments to be passed to Rnet().

Value

A numeric matrix containing the estimated penalized partial correlations corresponding to the MRF edges (column) in each subsample (row).


Rnets documentation built on July 23, 2019, 9:04 a.m.