faux.network: Faux Social Network Dataset

Description Usage Format Details See Also Examples

Description

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

Usage

1
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

1
2
3
4
5
## 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)

Example output



RDStreeboot documentation built on May 2, 2019, 6:47 a.m.