tic: titolo

Description Usage Arguments Examples

View source: R/tic.R

Description

A concise (1-5 lines) description of what the function does.

Usage

1
tic(gcFirst = TRUE, type = c("elapsed", "user.self", "sys.self"))

Arguments

gcFirst
type

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
##---- 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 (gcFirst = TRUE, type = c("elapsed", "user.self", "sys.self")) 
{
    type <- match.arg(type)
    assign(".type", type, envir = baseenv())
    if (gcFirst) 
        gc(FALSE)
    tic <- proc.time()[type]
    assign(".tic", tic, envir = baseenv())
    invisible(tic)
  }

Mahalanobis/MalaUtils documentation built on May 10, 2017, 4:05 a.m.