Physical constants in R

后端 未结 5 1756
挽巷
挽巷 2020-12-19 04:04

Just curious - is there a package or dataset somewhere containing values for physical constants? I only ask because I\'ve now typed in 273.15 (Celsius to Kelvi

5条回答
  •  醉话见心
    2020-12-19 04:10

    Should be fairly easy to download and parse this:

    http://physics.nist.gov/cuu/Constants/Table/allascii.txt

    • looks like fixed format, but those numeric triples might be a bit fiddly. It doesn't have your 273.15 though, because maybe its not a "physical constant" by some definition. But if you ever need the shielded helion to shielded proton mag. mom. ratio, its there.

    [actually scratch that, that file is not nicely formatted, and a couple of the constants break even the approximate fixed-width formatting. Needs cleverer processing to be useful]

提交回复
热议问题