err.msg: Error Message

Description Usage Arguments Author(s) Examples

Description

Reports and Error Message

Usage

1
err.msg(err.func = "edge", msg)

Arguments

err.func

Variable that declares the function in which the error occurs.

msg

Message to be reported.

Author(s)

John Storey <jstorey@princeton.edu>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (err.func = "edge", msg) 
{
    cat("\n")
    cat("\t")
    cat("ERROR in the", err.func, "function: ", "\n")
    cat("\t", msg, "\n\n")
  }

Sage-Bionetworks/snm documentation built on May 9, 2019, 12:14 p.m.