Question: Assigning values and doing math One of the basic ways to think of R is as a very fancy calculator. But in order to save
Assigning values and doing math
One of the basic ways to think of R is as a very fancy calculator. But in order to
"save" and manipulate data or the result of any calculations, we need to be able to
assign variables. In order to get credit for Q please do the following:
First enter just a little basic math that will return a value if you run that
line of code.
Now on a separate line, repeat this math and assign the result to a variable.
On another separate line, repeat the math and assign it to a variable with an
illegal name. Comment this line out so that it does not produce an error, but
then describe what is illegal about the variable name.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
