Package: goldfish 1.7.0

Alvaro Uzaheta

goldfish: Statistical Network Models for Dynamic Network Data

Tools for fitting statistical network models to dynamic network data. Can be used for fitting both dynamic network actor models ('DyNAMs') and relational event models ('REMs'). Stadtfeld, Hollway, and Block (2017a) <doi:10.1177/0081175017709295>, Stadtfeld, Hollway, and Block (2017b) <doi:10.1177/0081175017733457>, Stadtfeld and Block (2017) <doi:10.15195/v4.a14>, Hoffman et al. (2020) <doi:10.1017/nws.2020.3>.

Authors:James Hollway [aut, dtc], Christoph Stadtfeld [aut, dtc], Marion Hoffman [aut], Alvaro Uzaheta [cre, aut], Mirko Reul [ctb], Timon Elmer [ctb], Kieran Mepham [ctb], Per Block [ctb], Xiaolei Zhang [ctb], Weigutian Ou [ctb], Emily Garvin [ctb], Siwei Zhang [ctb], Mabel Wylie [ctb]

goldfish_1.7.0.tar.gz
goldfish_1.7.0.zip(r-4.7)goldfish_1.7.0.zip(r-4.6)goldfish_1.7.0.zip(r-4.5)
goldfish_1.7.0.tgz(r-4.6-x86_64)goldfish_1.7.0.tgz(r-4.6-arm64)goldfish_1.7.0.tgz(r-4.5-x86_64)goldfish_1.7.0.tgz(r-4.5-arm64)
goldfish_1.7.0.tar.gz(r-4.7-arm64)goldfish_1.7.0.tar.gz(r-4.7-x86_64)goldfish_1.7.0.tar.gz(r-4.6-arm64)goldfish_1.7.0.tar.gz(r-4.6-x86_64)
goldfish_1.7.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
goldfish/json (API)
NEWS

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

Bug tracker:https://github.com/stocnet/goldfish/issues

Pkgdown/docs site:https://stocnet.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • actors - Social evolution of a university dormitory cohort
  • bilatchanges - International bilateral fisheries treaties
  • bilatnet - International bilateral fisheries treaties
  • calls - Social evolution of a university dormitory cohort
  • contigchanges - International bilateral fisheries treaties
  • contignet - International bilateral fisheries treaties
  • friendship - Social evolution of a university dormitory cohort
  • gdpchanges - International bilateral fisheries treaties
  • known.before - RFID Validity dataset
  • participants - RFID Validity dataset
  • regchanges - International bilateral fisheries treaties
  • rfid - RFID Validity dataset
  • sovchanges - International bilateral fisheries treaties
  • states - International bilateral fisheries treaties
  • video - RFID Validity dataset

On CRAN:

Conda:

dynamnetwork-modellingremstatistical-network-analysiscpp

7.68 score 66 stars 61 scripts 251 downloads 39 exports 28 dependencies

Last updated from:a53fa5390f. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK268
linux-devel-x86_64OK256
source / vignettesOK366
linux-release-arm64OK273
linux-release-x86_64OK259
macos-release-arm64OK184
macos-release-x86_64OK457
macos-oldrel-arm64OK156
macos-oldrel-x86_64OK435
windows-develOK245
windows-releaseOK283
windows-oldrelOK270
wasm-releaseOK204

Exports:commonReceivercommonSenderdefineDependentEventsdefineGlobalAttributedefineGroups_interactiondefineNetworkdefineNodesegoAlterIntestimate_dynamestimate_dynamiestimate_remexamine_changepointsexamine_outliersexamineChangepointsexamineOutliersgather_model_dataglancelink_eventslinkEventsmake_datamake_data_goldfishmake_dependent_eventsmake_dependent_events_goldfishmake_global_attributemake_global_attribute_goldfishmake_groups_interactionmake_networkmake_network_goldfishmake_nodesmake_nodes_goldfishmixedCommonReceivermixedCommonSendermixedCyclemixedTransnodeTransset_estimation_optset_preprocessing_opttertiusDifftidy

Dependencies:changepointclicpp11farvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrpillarpkgconfigR6RColorBrewerRcppRcppArmadillorlangS7scalestibbleutf8vctrsviridisLitewithrzoo

DyNAM-i: an example script

Rendered fromdynami-example.Rmdusingknitr::rmarkdownon May 10 2026.

Last update: 2025-06-23
Started: 2022-08-17

DyNAM: How to start

Rendered fromteaching1.Rmdusingknitr::rmarkdownon May 10 2026.

Last update: 2025-06-23
Started: 2021-09-09

goldfish Effects

Rendered fromgoldfishEffects.Rmdusingknitr::rmarkdownon May 10 2026.

Last update: 2025-06-23
Started: 2022-07-05

The Coordination Model and Extensions

Rendered fromteaching2.Rmdusingknitr::rmarkdownon May 10 2026.

Last update: 2025-06-23
Started: 2021-09-09

Readme and manuals

Help Manual

Help pageTopics
goldfish packagegoldfish-package goldfish
Estimate a modelestimate estimate_dynam estimate_dynami estimate_rem
Diagnostic functionsexamine examine_changepoints examine_outliers
International bilateral fisheries treaties (1960-1970)bilatchanges bilatnet contigchanges contignet Fisheries_Treaties_6070 gdpchanges regchanges sovchanges states
Gather model data from a formulagather_model_data
Link dynamic events to a nodeset or a networklink_events link_events.default link_events.network.goldfish link_events.nodes.goldfish
Extract log-likelihood from a fitted model objectlogLik.result.goldfish
Create a data object for goldfish modelsmake_data make_data_goldfish
Define dependent events for a modelmake_dependent_events make_dependent_events_goldfish
Define a global time-varying attributemake_global_attribute make_global_attribute_goldfish
To define the second mode of a DyNAM-i modelmake_groups_interaction
Defining a network with dynamic eventsmake_network make_network_goldfish
Defining a node set with (dynamic) node attributes.make_nodes make_nodes_goldfish
Methods for 'goldfish' objects.print-method print.data.goldfish print.dependent.goldfish print.estimation_opt.goldfish print.network.goldfish print.nodes.goldfish print.preprocessed.goldfish print.preprocessing_opt.goldfish print.result.goldfish print.summary.result.goldfish
RFID Validity datasetknown.before participants rfid RFID_Validity_Study video
Control Parameters for Estimationset_estimation_opt
Control Parameters for Preprocessingset_preprocessing_opt
Social evolution of a university dormitory cohortactors calls friendship Social_Evolution
Methods to update a nodes or network objectas.data.frame.nodes.goldfish as.matrix.network.goldfish update-method