Learn R Programming

fdm2id (version 0.9.5)

runningtime: Running time

Description

Return the running time of a function

Usage

runningtime(FUN, ...)

Arguments

FUN

The function to be evaluated.

...

The parameters to be passes to function FUN.

Value

The running time of function FUN.

See Also

difftime

Examples

Run this code
# NOT RUN {
sqrt (x = 1:100)
runningtime (sqrt, x = 1:100)
# }

Run the code above in your browser using DataLab