get_demographics: get_demographics function

View source: R/get_demographics.R

get_demographicsR Documentation

get_demographics function

Description

get_demographics function

Usage

get_demographics(dataset, completers = T, convert = F, checks = T)

Arguments

dataset

original dataset "demographics" from the bundle

completers

boolean parameter, if True filters out participants that are not labeled as completers

convert

boolean parameter, if True converts all categorical values into integers

checks

boolean parameter, if True checks for improbable values in age, weight and height columns

Value

dataframe with eleven columns: PIN, gender, age,height,weight,BMI, marital status, education,employment, income, location


Art83/CompPsychQ documentation built on April 21, 2023, 3:36 p.m.