CW: Count Words

Description Usage Arguments Details Examples

View source: R/CW.R

Description

Tool to count words from text taken from articles.

Usage

1
  CW(text = "clipboard")

Arguments

text

character vector or text copied to the clipboard. Default is to read from the clipboard.

Details

This function counts the number of words in a text chunk. Useful for determining if block quotes are needed in APA6. While the function accepts vectors the real increase in work flow productivity is copying from the clipboard.

Examples

1
2
3
4
## Not run: 
CW("I like icecream")

## End(Not run)

reports documentation built on May 29, 2017, 10:24 p.m.