Programming in R help

Posted by mary on Programmers See other posts from Programmers or by mary
Published on 2012-08-28T05:42:19Z Indexed on 2012/08/28 9:50 UTC
Read the original article Hit count: 203

Filed under:

I needed help in converting the temperature from Farenheit to Celsius. Below are several attempts and each of these fails.

I have ran the following below and need help in saying what error message is created by:

a) (temp -32)

Can you please let me know the error message in a comment, and what it means and how to directly relate the wording of the error message with the problem you find in the expression.

likewise for: b) (temp - 32)5/9

don't know the erorr on this one

c) 5/9(temp - 32)

need an asterisk, but not specific enough

d) [temp - 32]5/9

I know braces is off.

© Programmers or respective owner

Related posts about programming-languages