Description Usage Arguments Value Notes See Also Examples
View source: R/reading_speed.R
This function calculates reading speed (in words per minute) using reading time (in seconds) only. This calculation provides a simplified value of reading speed, that does not take into account the number of misread words.
1 | readingSpeed_nonCorrected(data, reading_time)
|
data |
The name of your dataframe |
reading_time |
The variable that contains the reading time for each sentence |
The function returns the original dataframe with an added variable called "reading_speed_nonCorrected" that contains reading speed (in words/min) for each sentence tested.
This function gives a less precise reading speed measurement than readingSpeed
.
Unless you know what you are doing, consider using readingSpeed
instead of this function.
readingSpeed
for reading speed corrected for errors
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_nonCorrected(data_low_vision, rt)
# inspect the structure of the newly created dataframe
head(data_low_vision_new, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.