R/data-s50_vertices.R

#' Teenage Friends and Lifestyle Study network vertices
#'
#' Vertices of friend network of teenage girls in Scotland 
#'
#' @format A dataframe with 50 rows and 5 variables:
#' \describe{
#' \item{id}{Person ID}
#' \item{smoke}{Frequency of smoking from 1 (Never) to 3 (Regularly)}
#' \item{alcohol}{Frequency of drinking alcohol from 1 (Never) to 5 (More than once a week)}
#' \item{drugs}{Frequency of cannabis use from 1 (Never) to 4 (Regularly)}
#' \item{sport}{Frequency of sporting activity from 1 (Not regularly) to 2 (Regularly)}
#' }
#' 
#' @source \href{https://www.tandfonline.com/doi/abs/10.1080/dep.7.1.21.37}{Pearson & Michell, 2009}
#' 
#' @examples
#' s50_vertices
"s50_vertices"

Try the onadata package in your browser

Any scripts or data that you put into this service are public.

onadata documentation built on Jan. 25, 2022, 1:10 a.m.