validBobcatObject: Check the validity of an object of class Bobcat.

Description Usage Arguments Value See Also

Description

The validBobcatObject function checks whether an object of class Bobcat is a valid object. An object of the Bobcat-class is valid when:

(object@velocity)^2 ≤ 85.0

(in this case TRUE is returned), otherwise the message "The velocity is out of bounds." will appear.

Usage

1

Arguments

object

An object of class Bobcat.

Value

TRUE or an error message.

See Also

Bobcat, Bobcat-class,


mverouden/rsfour documentation built on May 25, 2019, 5:01 a.m.