Learn R Programming

modnets (version 0.9.0)

bootNetDescriptives: Descriptive statistics for bootNet objects

Description

Currently only works for GGMs, including the between-subjects network returned in the mlGVAR output.

Usage

# S3 method for bootNet
summary(object, centrality = TRUE, ...)

cscoef(object, cor = 0.7, ci = 0.95, first = TRUE, verbose = TRUE)

Arguments

object

bootNet output

centrality

Logical. Determines whether or not strength centrality and expected influence should be computed for output.

...

Additional arguments.

cor

Numeric value to indicate the correlation stability value to be computed.

ci

Numeric. Confidence interval level for CS coefficient.

first

Logical. Whether or not to count the first instance that a CS statistic dips below the requisite threshold. Often times the value of this will not affect the results. When it does, if first = TRUE then the calculation will be more conservative.

verbose

Logical. Whether to write out the full statement of the CS coefficient in output. Set to FALSE if you want the details about the CS coefficient saved as attributes on the output.

Value

A table of descriptives for bootNet objects, or correlation-stability coefficients for the case-drop bootstrap.

Details

Outputs correlation-stability (CS) coefficients for the case-drop bootstrap.

See Also

bootNet

Examples

Run this code
# NOT RUN {
boot1 <- bootNet(ggmDat, 'M')
summary(boot1)

boot2 <- bootNet(gvarDat, 'M', lags = 1)

mod1 <- varSelect(gvarDat, 'M', lags = 1)
boot3 <- bootNet(gvarDat, 'M', lags = 1, type = mod1, caseDrop = TRUE)
summary(boot3)
# }

Run the code above in your browser using DataLab