readingSpeed: Reading speed calculation corrected for the number of errors

Description Usage Arguments Value Notes See Also Examples

View source: R/reading_speed.R

Description

This function calculates reading speed (in words per minute) for each sentence tested. This calculation takes into account the number of misread words and gives a more precise reading speed measurement than readingSpeed_nonCorrected.

Usage

1
readingSpeed(data, reading_time, errors)

Arguments

data

The name of your dataframe

reading_time

The variable that contains the reading time for each sentence

errors

The variable that contains the number of errors for each sentence

Value

The function returns the original dataframe with an added variable called "reading_speed" that contains reading speed (in words/min) for each sentence tested.

Notes

For general purposes, this method of reading speed calculation should be used preferentially over the less precise readingSpeed_nonCorrected.

See Also

readingSpeed_nonCorrected for reading speed non corrected for errors

Examples

1
2
3
4
5
6
7
8
# inspect the strucutre of the dataframe
head(data_low_vision, 10)

# run the reading speed calculation
data_low_vision_new <- readingSpeed(data_low_vision, rt, err)

# inspect the structure of the newly created dataframe
head(data_low_vision_new, 10)

mnreadR documentation built on June 25, 2021, 1:07 a.m.