Package: socialSim 0.1.9

Rori Efrain Wijnhorst

socialSim: Simulate and Analyse Social Interaction Data

Provides tools to simulate and analyse datasets of social interactions between individuals using hierarchical Bayesian models implemented in Stan. Model fitting is performed via the 'rstan' package. Users can generate realistic interaction data where individual phenotypes influence and respond to those of their partners, with control over sampling design parameters such as the number of individuals, partners, and repeated dyads. The simulation framework allows flexible control over variation and correlation in mean trait values, social responsiveness, and social impact, making it suitable for research on interacting phenotypes and on direct and indirect genetic effects ('DGEs' and 'IGEs'). The package also includes functions to fit and compare alternative models of social effects, including impact–responsiveness, variance–partitioning, and trait-based models, and to summarise model performance in terms of bias and dispersion. For a more detailed description of the available models and impact–responsiveness, see the accompanying article Wijnhorst et al. (2026) <doi:10.1093/jeb/voag013>.

Authors:Rori Efrain Wijnhorst [aut, cre]

socialSim_0.1.9.tar.gz
socialSim_0.1.9.zip(r-4.7)socialSim_0.1.9.zip(r-4.6)socialSim_0.1.9.zip(r-4.5)
socialSim_0.1.9.tgz(r-4.6-any)socialSim_0.1.9.tgz(r-4.5-any)
socialSim_0.1.9.tar.gz(r-4.7-any)socialSim_0.1.9.tar.gz(r-4.6-any)
socialSim_0.1.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
socialSim/json (API)
NEWS

# Install 'socialSim' in R:
install.packages('socialSim', repos = c('https://roriwijnhorst.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/roriwijnhorst/socialsim/issues

On CRAN:

Conda:

3.48 score 1 stars 444 downloads 3 exports 8 dependencies

Last updated from:337cad802d. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING160
source / vignettesOK244
linux-release-x86_64WARNING155
macos-release-arm64WARNING220
macos-oldrel-arm64WARNING144
windows-develWARNING99
windows-releaseWARNING85
windows-oldrelWARNING100
wasm-releaseOK161

Exports:run_modelsimulate_datasummarise_results

Dependencies:codetoolsdigestfuturefuture.applyglobalslistenvMASSparallelly