faux.network {RDStreeboot}R Documentation

Faux Social Network Dataset

Description

This dataset contains a faux social network created for testing and examples.

Usage

data("faux.network")

Format

A list with two components:

traits

a data frame, the first column giving ID numbers for the nodes in the social network and the remaining columns giving continuous or discrete (not categorical) traits for each node.

adj.mat

a matrix of 0's and 1's, the adjacency matrix for the social network.

Details

This faux social network contains 1000 nodes and 5000 edges with each node having three binary traits labeled "X", "Y", and "Z".

See Also

sample.RDS

Examples

## load data
data(faux.network)

## draw RDS from network
samp <- sample.RDS(faux.network$traits, faux.network$adj.mat, 100, 2, 3, c(0,1/3,1/3,1/3), TRUE)

[Package RDStreeboot version 1.0 Index]