alex: Catch Insensitive, Inconsiderate Writing

Description Usage Arguments Value Examples

Description

Whether your own or someone else's writing, alex helps you find gender favouring, polarising, race related, religion inconsiderate, or other unequal phrasing.

Usage

1
2
3

Arguments

text

If it is a connection object, then we read all lines from it with readLines() and then run alex on them. Otherwise if it is a character vector, we run alex on it. If NULL, then we run alex on all markdown (.Rmd and .md) files in the current working directory.

files

Files to check.

Value

An object with S3 class alex, which is also a data frame.

Examples

1
2
3
4
x <- alex(c("The boogeyman wrote all changes to the **master server**.",
             "Thus, the slaves were read-only copies of master.",
             "But not to worry, he was a cripple."))
x

gaborcsardi/alexr documentation built on May 25, 2019, 5:23 p.m.