strphour: Convert time string to decimal hour

Description Usage Arguments Value Examples

View source: R/lib.R

Description

Convert time string to decimal hour

Usage

1
strphour(x, fmt = "(%m/%d/%y %H:%M:%S)")

Arguments

x

input character vector of times

fmt

input character format for times

Value

numeric vector of decimal times in hours

Examples

1
strphour("31/08/87 12:53:29")

networkTomography documentation built on May 2, 2019, 3:28 a.m.