GlasgowFriends: Glasgow secondary school students and their (best) friends.

GlasgowFriendsR Documentation

Glasgow secondary school students and their (best) friends.

Description

The data derive from the same source as the Glasgow data. The data have been joined and simplified for practicing purposes. A rough classification according of students according to their home neighbourhood was derived from the distances among students. This data file is very untidy!

Usage

GlasgowFriends

Format

A data frame with thirteen variables:

student

respondent ID, as a character string

neighbourhood

student's home neighbourhood (fake)

schooldist

average distance from the neighbourhood to the school (in miles)

hoodname

(fake) name of the neighbourhood

age

respondent age, in years with one decimal digit

sex

respondent sex, boy or girl

smoking_at_home

any smokers at home, yes or no

smoking_parents

smoking by at least one parent, yes or no

smoking_siblings

smoking by at least one sibling, yes or no

alcohol

respondent alcohol consumption: 1 (none), 2 (once or twice a year), 3 (once a month), 4 (once a week) and 5 (more than once a week)

cannabis

respondent cannabis consumption: 1 (none), 2 (tried once), 3 (occasional) and 4 (regular)

tobacco

respondent tobacco consumption: 1 (none), 2 (occasional) and 3 (regular, i.e. more than once per week)

money

respondent's pocket money per month, in British pounds

romantic

whether the student had a romantic relation, yes or no

wave

time of observation, starting in February 1995, when the pupils were aged 13, and ending in January 1997

friend_1

code of a first student nominated as a friend by the respondent

friend_2

code of a second student nominated as a friend by the respondent

friend_3

code of a third student nominated as a friend by the respondent

friend_4

code of a fourth student nominated as a friend by the respondent

friend_5

code of a fifth student nominated as a friend by the respondent

friend_6

code of a sixth student nominated as a friend by the respondent

bestfriend

code of a student nominated as a/the best friend by the respondent

bfperiod

phase in the period of best friendship

bfperiod

wave for the phase in the period of best friendship


WdeNooy/UsingRTutorials documentation built on Jan. 25, 2023, 2:39 a.m.