# deb_decimal with tripartite units
deb_decimal(c(5.25, 3.825, 8.5))
# Set the unit of the deb_decimal vector
deb_decimal(c(105, 76.5, 170), unit = "s")
deb_decimal(c(1260, 918, 240), unit = "d")
# Set the bases of the deb_decimal vector
deb_decimal(c(5.25, 3.825, 8.5), bases = c(60, 16))
# Create a prototype or vector of length 0
deb_decimal()
# To create a tetrapartite value, provide numeric vector
# of length 3 to bases argument
deb_decimal(c(5.11875, 3.234375, 8.2875),
bases = c(20, 12, 4))
deb_decimal(c(4914, 3105, 7956),
unit = "f",
bases = c(20, 12, 4))
Run the code above in your browser using DataLab