Learn R Programming

english (version 1.2-6)

Ops.english: English Arithmetic

Description

Allows arithmetic operations on "english" class objects. To make sense the operation should return an integer value.

Usage

# S3 method for english
Ops(e1, e2)

Arguments

e1

Numeric vector of object of class "english".

e2

Numeric vector of object of class "english".

Value

Numeric vector of class "english"

Examples

Run this code
# NOT RUN {
english(1:10)^2 + 1:10
english(100) + (-5):5
# }

Run the code above in your browser using DataLab