Learn R Programming

netcmc (version 1.0.2)

Spatio-Network Generalised Linear Mixed Models for Areal Unit and Network Data

Description

Implements a class of univariate and multivariate spatio-network generalised linear mixed models for areal unit and network data, with inference in a Bayesian setting using Markov chain Monte Carlo (MCMC) simulation. The response variable can be binomial, Gaussian, or Poisson. Spatial autocorrelation is modelled by a set of random effects that are assigned a conditional autoregressive (CAR) prior distribution following the Leroux model (Leroux et al. (2000) ). Network structures are modelled by a set of random effects that reflect a multiple membership structure (Browne et al. (2001) ).

Copy Link

Version

Install

install.packages('netcmc')

Monthly Downloads

60

Version

1.0.2

License

GPL (>= 2)

Maintainer

George Gerogiannis

Last Published

November 8th, 2022

Functions in netcmc (1.0.2)

getTotalAltersByStatus

A function that generates a data.frame that stores the number of alters with a given level of a factor an individual has.
netcmc-package

An R Package for Bayesian Social Network Modelling
getAdjacencyMatrix

A function that extracts valuable properties from a raw social network.
print.netcmc

A function that gets a summary of the fitted model.
plot.netcmc

A function that plots visual MCMC diagnostics of the fitted model.
summary.netcmc

A function that gets a summary of the fitted model.
multiNetLeroux

A function that generates samples for a multivariate fixed effects, spatial, and network model.
multiNetRand

A function that generates samples for a multivariate fixed effects, grouping, and network model.
uniNetLeroux

A function that generates samples for a univariate network Leroux model.
uniNetRand

A function that generates samples for a univariate network group model.
multiNet

A function that generates samples for a multivariate fixed effects and network model.
uni

A function that generates samples for a univariate fixed effects model.
getMembershipMatrix

A function that generates a data.frame that is the membership matrix of the network.
uniNet

A function that generates samples for a univariate network model.