dielFraction {sonicscrewdriver} | R Documentation |
Calculate the fraction of a day given by a value
Description
Given an object that can be coerced to POSIXlt or is in a supported string format, return the fraction of a day represented by the object.
Usage
dielFraction(t, input = "POSIX", unit = "radians")
Arguments
t |
Object to be converted to a fraction |
input |
One of POSIX (default) or HHMM |
unit |
If set to radians outputs a position around a circle. If set to fraction outputs the raw fraction. |
[Package sonicscrewdriver version 0.0.7 Index]