Checks on the validity of an mts_monitor object. If any test fails, this function will stop with a warning message.

monitor_check(monitor)

Arguments

monitor

mts_monitor object.

Value

Invisibly returns TRUE if mts_monitor has the correct structure. Stops with an error message otherwise.