Learn R Programming

networksem (version 0.4)

friend_data: Friendship network data

Description

A dataset with friendship network data of 165 undergraduate students in China, and also contains information extroversion and depression scores

Usage

data("friend_data")

Arguments

Format

A list with two elements

network

A list containing a 165 x 165 adjacency matrix indicating friendship ties.

non_network

A dataframe with 165 rows and 11 columns containing variables on depression from the Patient Health Questionnaire and extroversion from the mini-IPIP scale.

Examples

Run this code
data("friend_data")
length(friend_data$network)
head(friend_data$nonnetwork)

Run the code above in your browser using DataLab