extract {lwc2022}R Documentation

Extract Key Cognitive Measures from Dataset

Description

This function extracts specific cognitive measures from a dataset, including immediate and delayed word recall, serial subtraction, and backwards counting, along with household and person identifiers.

Usage

extract(data)

Arguments

data

A dataframe containing the full dataset from which specific variables will be selected.

Details

The function selects key cognitive test results and identifiers from the dataset. It uses dplyr::select() to retrieve:

Value

A dataframe with the following variables:

Examples

# Assuming `cog_data` is a dataframe with the relevant columns
extract(cog_data)


[Package lwc2022 version 1.0.0 Index]