Skip to content
Advertisement

How can I create a column with time HH:MM from a timestamp column with time HH:MM:SS in my dataset [closed]

How can I create a column with time HH:MM from a timestamp column with time HH:MM:SS in my dataset

Advertisement

Answer

We can use


Or in base R with sub

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement