modnets0.9.0 package

Modeling Moderated Networks

bootNet

Bootstrapping network estimation for moderated networks

bootNetDescriptives

Descriptive statistics for bootNet objects

CentClust

Node centrality, clustering coefficients, and shortest path lengths

CentralityAndClustering

Create table of centrality values or clustering coefficients

CentralityAndClusteringPlots

Plots for node centrality values or clustering coefficients

compareVAR

Compare two to three lmerVAR models

condPlot

Conditional effects plot

fitNetwork

Fit cross-sectional and idiographic moderated network models

getFitCIs

Provides model coefficients with confidence intervals

intsPlot

Plot confidence intervals for interaction terms

lmerVAR

Mixed-effects modeling for the GVAR in multilevel data

LogLikelihood

Log-likelihood functions and Likelihood Ratio Tests for moderated netw...

mlGVAR

Fit GVAR models with multilevel data

mlGVARsim

Main workhorse for simulating VAR and mlGVAR data

mnetPowerSim

Power simulator for cross-sectional and idiographic networks

modnets

modnets: Modeling Moderated Networks

modSelect

Select a model based on output from resample

net

Get adjacency matrices from fit objects

ordinalize

Convert continuous variables into ordinal variables

plot.resample

Plot method for output of resample function

plotBoot

Plot bootNet outputs

plotCoefs

Plot model coefficients with confidence intervals

plotMods

Plot conditional networks at different levels of the moderator

plotNet

Plot moderated and unmoderated network models

plotNet2

Plot temporal and contemporaneous networks in the same window

plotNet3

Plot temporal, contemporaneous, and between-subject networks

plotPower

Plot results of power simulations

plotPvals

Plot the ECDF of p-values from resampling

plotStability

Plot stability selection paths for a given outcome

predictNet

Calculate prediction error from network models

resample

Bootstrapping or multi-sample splits for variable selection

sampleSize

Reports the minimum sample size required to fit a network model

selected

Shows which variables were selected for each node of a network

simNet

Simulate network structure and data

summary.mnetPower

Descriptive statistics for power simulation results

SURfit

Fit SUR models with or without constraints

SURnet

Creates temporal and contemporaneous network of SUR results

varSelect

Variable selection for moderated networks

Methods for modeling moderator variables in cross-sectional, temporal, and multi-level networks. Includes model selection techniques and a variety of plotting functions. Implements the methods described by Swanson (2020) <https://www.proquest.com/openview/d151ab6b93ad47e3f0d5e59d7b6fd3d3>.

  • Maintainer: Trevor Swanson
  • License: GPL (>= 3)
  • Last published: 2021-10-01