From 282d85eacde8f1aa40743bb3a3ca4652d56ab48d Mon Sep 17 00:00:00 2001 From: "Peter T. Ruehr" Date: Tue, 22 Nov 2022 12:55:47 +0100 Subject: [PATCH] function implemented --- functions/celsius_to_kelvin.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/celsius_to_kelvin.R b/functions/celsius_to_kelvin.R index 10a4c6e..e65a656 100644 --- a/functions/celsius_to_kelvin.R +++ b/functions/celsius_to_kelvin.R @@ -6,5 +6,6 @@ celsius_to_kelvin <- function(temp_C) { #' #' The equation for conversion is : T_K = TC + 273 #' - return (temp_C) -} \ No newline at end of file + temp_K <- temp_C + 273 + return (temp_K) +}