Skip to contents

All functions

bisonR-package bisonR
The 'bisonR' package.
bison_brm()
Fit a brms model on BISoN network data
bison_brm_get_prior()
Get priors for BISoN brm model
bison_mice()
Generate a mice mids object
bison_mixture()
Fit a dyadic mixture model
bison_model()
Fit an edge model to data
bison_to_igraph()
Convert bisonR edgemodel posterior to igraph network objects
convert_duration_to_binary()
Convert duration data to binary
convert_gbi_to_bison()
Convert group-by-individual matrix to bisonR format
draw_edgelist_samples()
Draw samples from edgelist posterior
extract_metric()
Extract samples from posterior metrics for a fitted edge weight model
get_component_means()
Get component means from edge mixture model
get_default_priors()
Return default priors for a given model
get_edge_component_probabilities()
Get probabilities of component membership for each edge
get_edgelist()
Retrieves an edgelist with uncertainty for a fitted edge weight model object
get_network_component_probabilities()
Get probabilities of component membership for the entire network
model_comparison()
Run leave-one-out model comparison
plot_metric()
Plot metric samples
plot_network()
Sociogram plot with uncertainty of a fitted edge weight model object
plot_predictions()
Posterior predictive checks
plot_trace()
Traceplot of MCMC chains
print(<summary.bison_mixture>)
Print information about an edge mixture model
print(<summary.bison_model>)
Prints out an edge model summary object.
prior_check()
Prior checks
prior_predictive_check()
Run prior predictive check for a model specification
simulate_bison_model()
Simulates data
simulate_bison_model_mixture()
Simulate data for an edge model with mixture components
summary(<bison_mixture>)
Summary of a edge mixture model
summary(<bison_model>)
Generates a summary object for an edge model object