ms

0th

Percentile

Create a period with the specified number of minutes and seconds

Transforms character or numeric vectors into a period object with the specified number of minutes and seconds. ms() Arbitrary text can separate minutes and seconds. Fractional separator is assumed to be ".". After minutes and seconds have been parsed, all numeric input is ignored.

Keywords
period
Usage
ms(..., quiet = FALSE)
Arguments
...
character or numeric vectors of minute second pairs
quiet
logical. When TRUE function evalueates without displaying customary messages.
Value

a vector of class Period

See Also

hms, hm

Aliases
  • ms
Examples
ms(c("09:10", "09:02", "1:10"))
## [1] "9M 10S" "9M 2S"  "1M 10S"
ms("7 6")
## [1] "7M 6S"
ms("6,5")
## [1] "6M 5S"
Documentation reproduced from package lubridate, version 1.5.6, License: GPL-2

Community examples

Looks like there are no examples yet.