Skip to content

[R-Forge #1719] unique( ITime ) loses ITime attribute and coerces to integer #249

Closed

Description

@arunsrinivasan

Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link

t = as.ITime(strptime(c("09:10:00","09:11:00","09:12:00","09:13:00"),"%H:%M:%S"))
t
[1] "09:10:00" "09:11:00" "09:12:00" "09:13:00"
str(t)
Class 'ITime' int [1:4] 33000 33060 33120 33180
unique(t)
[1] 33000 33060 33120 33180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions