R function does not return a numeric value

前端 未结 0 1633
孤城傲影
孤城傲影 2021-01-04 12:56

I have created a function as bellow:

#!/usr/bin/Rscript
targetRunner <- function(temp) {
  cost <- ((temp - 32) * (5 / 9)) + 273.15
  return(cost)
}

ar         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题