tidyDegrootList: Wrapper function for tidyDegroot that calls tidyDegroot on a...

Description Usage Arguments Value

View source: R/tidy_degroot_list.R

Description

Wrapper function for tidyDegroot that calls tidyDegroot on a list of degroot matrices

Usage

1
tidyDegrootList(pred, id)

Arguments

pred:

a list of matrices, generally produced by ergmmDegroot

id:

a vector of ID values that will be added as a column to the resulting data.frame

Value

a data.frame (in tibble form) with 4 columns: the 3 columns produced by tidyDegroot, plus an additional column for the number of draws, which denotes the index from the original list


jcfisher/latentnetDiffusion documentation built on May 20, 2019, 5:26 p.m.