A small synthetic roster of 30 students intended for examples and
teaching. Designed to support a typical survey-style workflow:
one row per student, one column per attribute, plus a separate
edgelist of reported friendship ties (classroom_edges).
Usage
data(classroom_nodes)Format
A data frame with 30 rows and 4 columns:
studentStudent identifier, character (e.g.
"s01".."s30"). Use this as the actor column when attaching attributes viaadd_node_vars.genderReported gender, character,
"F"or"M".gradeGrade level, integer 9-12.
gpaGrade point average on the 0-4 scale, numeric.
Details
This dataset is synthetic – generated to illustrate how
netify handles standard student/peer survey data. It is not drawn
from any real classroom. Ties tend to form within the same grade
and (more weakly) within the same gender, so attribute-based
analyses such as homophily and
mixing_matrix produce meaningful (non-null) patterns.
Pair with classroom_edges (an undirected friendship
edgelist on the same 30 students).