deco.time function

Time decomposition

Time decomposition

Trasform time from hours, minutes and seconds to seconds

deco.time(x, y, z, verbose = TRUE)

Arguments

  • x: are hours
  • y: are minutes
  • z: are seconds
  • verbose: logic argument that on or off message (default is TRUE)

Returns

time decomposition in seconds

Examples

# Convert H:M:S to seconds x = 5 # Hours y = 25 # minutes z = 50 # seconds deco.time(x = x, y = y, z = z)

Author(s)

Pasquale Scordino p.scordino@arpa.piemonte.it

Simone Sperotto s.sperotto@arpa.piemonte.it