A function used for debugging within the package.

mooringDebug(debug, v, ..., overview = FALSE, round = FALSE)

Arguments

debug

an integer that controls debugging. If this is positive, then the other arguments are given to cat(), to print a message. Note that no newline is printed, unless included in the ... arguments.

v

a value to be displayed.

...

optional extra values to be displayed.

overview

logical value indicating whether to summarize v (ignoring ...), by displaying its name and some of its values.

round

either FALSE, for no rounding, or an integer, indicating the rounding to be used, via a call to round(). This applies only to the case where overview is TRUE.

Author

Dan Kelley