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

Description Usage Arguments Value See Also

Description

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

(object@velocity)^2 ≤ 95.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 Lynx.

Value

TRUE or an error message.

See Also

Lynx, Lynx-class,


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