sample_graph: produce dataset from a sample of a reporting graph or social...

Description Usage Arguments Value

View source: R/generics.R

Description

this is a generic function to generate a dataset with information from a sample of nodes in a reporting graph or social network. the parameters describe how the sample is obtained.

Usage

1
sample_graph(params, g, ...)

Arguments

params

object with the parameters governing how the sample should be obtained

g

the social network or reporting graph to sample'

Value

dataframe with the attributes of the sampled vertices


dfeehan/nrsimulatr documentation built on June 12, 2018, 4:27 a.m.