R/tamcat.R

Defines functions tamcat

## File Name: tamcat.R
## File Version: 9.06

######################################################
tamcat <- function( label, time0, active )
{
    if (active){
        z0 <- time0
        cat( label, "  " )
        z1 <- Sys.time()
        print(z1-z0)
        z0 <- z1
        zout <- z0
    } else {
        zout <- NULL
    }
    return(zout)
}
######################################################

Try the TAM package in your browser

Any scripts or data that you put into this service are public.

TAM documentation built on Aug. 29, 2022, 1:05 a.m.