Learn R Programming

RSEIS (version 4.2-4)

secdifv: Seconds Difference

Description

Given two date/time vectors, return seconds diffrence

Usage

secdifv(T1, T2)

Value

numeric

seconds

Arguments

T1

c(jd, hr, mi, sec)

T2

c(jd, hr, mi, sec)

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

Year is not included in this calculation.

See Also

secdif

Examples

Run this code
T1 <- c(12, 13, 23, 21)
T2 <- c(14, 23, 23, 2)
secdifv(T1, T2)


Run the code above in your browser using DataLab