time_converter {isobxr} | R Documentation |
Convert time units in a dataframe column
Description
Convert the time units in plots
Usage
time_converter(
dataframe,
time_colname,
conv_timecolname,
former_unit,
new_unit
)
Arguments
dataframe |
dataframe for which a column with numerical time values should be converted. |
time_colname |
name of column with time (numerical) values to be converted to a different time unit. |
conv_timecolname |
name of the column after time units conversion. |
former_unit |
former time unit. Character string among the following: |
new_unit |
new time unit. Character string among the following: |
Value
a dataframe with values converted to new time unit.
[Package isobxr version 2.0.0 Index]