Learn R Programming

regcensus (version 1.0.1)

reading_time: reading_time

Description

Computes the time it takes to read a document based on the words a document has.

Computes the time it takes to read a document based on the words a document has.

Usage

reading_time(words, workday = 8, workweek = 5, workyear = 50)

Value

A string detailing how long it takes to read a document based on how many words the document has. The function assumes an 8 hour work-day, a 5 day work-week, and a 50 week work-year.

A string detailing how long it takes to read a document based on how many words the document has. The function assumes an 8 hour work-day, a 5 day work-week, and a 50 week work-year.

Arguments

words

count of words

workday

default value of 8 hour workday

workweek

default value of 5 day work week

workyear

default value of 50 week work year

Examples

Run this code
if (FALSE) reading_time(1200000, workday = 8,
         workweek = 5, workyear = 50)
reading_time(1200000, workday=8, workweek=5, workyear=50)

Run the code above in your browser using DataLab