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).