Learn R Programming

spatialnbda (version 1.0)

Performs spatial NBDA in a Bayesian context

Description

Network based diffusion analysis (NBDA) allows inference on the asocial and social transmission of information. This may involve the social transmission of a particular behaviour such as tool use, for example. For the NBDA, the key parameters estimated are the social effect and baseline rate parameters. The baseline rate parameter gives the rate at which the behaviour is first performed (or acquired) asocially amongst the individuals in a given population. The social effect parameter quantifies the effect of the social associations amongst the individuals on the rate at which each individual first performs or displays the behaviour. Spatial NBDA involves incorporating spatial information in the analysis. This is done by incorporating social networks derived from spatial point patterns (of the home bases of the individuals under study). In addition, a spatial covariate such as vegetation cover, or slope may be included in the modelling process.

Copy Link

Version

Install

install.packages('spatialnbda')

Monthly Downloads

13

Version

1.0

License

GPL

Maintainer

Glenna Nightingale

Last Published

September 18th, 2014

Functions in spatialnbda (1.0)

rjmcmc

Model discriminiation in a Bayesian context for spatial NBDA.
socialy

y coordinates for RJMCMC Example 1
mcmcre

Performs NBDA with individual level random effects
Yy

y coordinates for data example for NBDA with random effects at the individual level. x and y coordinates are required to construct the spatially dervied social network.
Xx

x coordinates for data example for NBDA with random effects at the individual level. x and y coordinates are required to construct the spatially dervied social network.
x

x
mcmc

Performs spatial NBDA in a Bayesian context
Times

This dataset contains the diffusion times using in the This is part of the data example to demonstrate modelling NBDA with random effects.
papernests

papernests
idarray

Individual id's for RJMCMC Example 1.
spatialnbda

Performs spatial NBDA in a Bayesian context.
Ids

This dataset contains the unique id for each individual in each group. This is part of the data example to demonstrate modelling NBDA with random effects.
papertimes

papertimes
socialx

x coordinates for RJMCMC Example 1.
y

y
FormatData

Formats the data for NBDA
nullmcmc

The spatial NBDA null model is considered for this analysis. The baseline rate parameter is estimated.
smcmc

Performs spatial NBDA in a Bayesian context with an environmental covariate
timearray

Diffusions times for RJMCMC Example 1