tic()
R/ubiquity.R
tic.Rd
Used in conjunction with toc() to find the elapsed time when code is executed.
toc()
tic(type = c("elapsed", "user.self", "sys.self"))
can be either "elapsed" "user.self" or "sys.self"
"elapsed"
"user.self"
"sys.self"
time tic was called
toc
tic() Sys.sleep(3) toc() #> elapsed #> 3.016