Masi - 6 months ago 39

R Question

I am trying to find the the basic constants in R statistics but have not been able to do it.

I actually need the reduced Plack constant but I can get it myself (division by 2*pi) if I can get Planck constant.

However, it also exists in the system, please answer.

OS: Debian 8.5

R: 3.3.1

Answer

```
library(ChargeTransport)
# Return the Planck constant in J.s
universalConstants["h","Value"]
# Return the Planck constant in eV.s
Joule2electronVolt(universalConstants["h","Value"])
```

If you want directly the Angular Planck constant:

```
# in J.s
universalConstants["hbar","Value"]
# in eV.s
Joule2electronVolt(universalConstants["hbar","Value"])
```