https://github.com/egonw/rqudt
R package for unit conversion using the QUDT ontology
https://github.com/egonw/rqudt
qudt r units-of-measure
Last synced: 7 months ago
JSON representation
R package for unit conversion using the QUDT ontology
- Host: GitHub
- URL: https://github.com/egonw/rqudt
- Owner: egonw
- License: other
- Created: 2019-09-26T21:23:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-29T20:27:45.000Z (about 6 years ago)
- Last Synced: 2025-01-22T17:11:32.752Z (9 months ago)
- Topics: qudt, r, units-of-measure
- Language: R
- Size: 780 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS
- License: LICENSE
Awesome Lists containing this project
README
# rQUDT
R package for unit conversion using the QUDT ontology. It uses
[jQUDT]() 1.4.0-SNAPSHOT.## Installation
Install with:
```R
install.packages("rJava") # if not present already
install.packages("devtools") # if not present already
library(devtools)
install_github("egonw/rqudt")
```## Example
```R
library(rQUDT)
q1 = rQUDT::newQuantity("203.7", "K")
q2 = rQUDT::convertTo(q1, "degC")
```Or using the Open PHACTS extension
```R
library(rQUDT)
q1 = rQUDT::newQuantity("4.3", "nM")
q2 = rQUDT::convertTo(q1, "M")
```