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

View source: R/generics.R

sample_graphR Documentation

produce dataset from a sample of a reporting graph or social network

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

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 Feb. 27, 2024, 3:18 a.m.