Measurement Units for R Vectors

as_difftime | convert units object into difftime object |

as_units | convert object to a units object |

deparse_unit | deparse unit to string in product power form (e.g. km m-2... |

deprecated | Deprecated functions |

drop_units | drop units |

hist.units | histogram for unit objects |

install_conversion_constant | Install a function for conversion between user-defined units. |

install_conversion_function | Install a function for conversion between user-defined units. |

install_symbolic_unit | Define new symbolic units |

Math.units | Mathematical operations for units objects |

matmult | matrix multiplication |

Ops.units | S3 Ops Group Generic Functions for units objects |

plot.units | create axis label with appropriate labels |

seq.units | seq method for units objects |

set_units | set_units |

tibble | type_sum function for units |

ud_units | List containing pre-defined units from the udunits2 package. |

unitless | The "unit" type for vectors that are actually dimension-less. |

units | Set measurement units on a numeric vector |

units_options | set one or more units global options |

valid_udunits | Get information about valid units |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.