predict_response_hist: Simulate and Plot Histogram of Outcomes from Latent Space...

Description Usage Arguments Details Author(s)

View source: R/latentnet.R

Description

Simulates and then plots outcomes between specified nodes.

Usage

1
predict_response_hist(model, network, x, i, j, n = 1000, barplot = FALSE)

Arguments

model

ergmm model object

network

network object from which the model was estimated.

x

string, the covariate outcome of interest

i

integer, sender id

j

integer, receiver id

n

integer, number of simulations

barplot

boolean, plot a barplot instead of a histogram. Useful for discrete outcomes.

Details

Simulates and then plots outcomes between specified nodes from an estimated latent space model.

Author(s)

Jason W. Morgan jason.w.morgan@gmail.com


jason-morgan/ina documentation built on Dec. 3, 2019, 7:12 a.m.