score {lwc2022}R Documentation

Calculate Cognitive Test Scores

Description

This function calculates various cognitive test scores from a dataset, including word recall, serial subtraction, and backwards counting. It computes total scores for immediate and delayed word recall, scores for serial subtraction tasks, and a total score for backwards counting.

Usage

score(data)

Arguments

data

A dataframe containing the cognitive test data, including columns for word recall, serial subtraction, and backwards counting tasks.

Details

The function applies scoring functions to the cognitive test data:

Value

A dataframe with the following computed scores:

Examples

# Assuming `cog_data` is a dataframe with the relevant columns
scored_data <- score(cog_data)


[Package lwc2022 version 1.0.0 Index]