####################################################################
# (c) V. Reijs, 2006-2019
# ARCHAEOCOSMO library (leaf from version 1.01)
# astronomical, geodetic and meteorological formula
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program (http://www.fsf.org/licensing/licenses/ );
# if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#
# The author (web.victor.reijs@gmail.com ) is interested in constructive feedback.
# http://archaeocosmology.org/eng/archaeocosmology.htm
#
# Explantion of the procdures can also be found at
# http://www.archaeocosmology.org/eng/archaeocosmoprocedures.htm
####################################################################
###################################################################
S_Kelvin <- function (temp = TempDefault) {
# Temp [C]
# Kelvin [K]
# http://en.wikipedia.org/wiki/Kelvin
TempK = temp + C2K
return(TempK)
}
###################################################################
S_Celcius <- function(temp) {
# ' Temp [K]
# ' Celcius [C]
# http://en.wikipedia.org/wiki/Kelvin
return(temp - C2K)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.