Displaying 1 result from an estimated 1 matches for "eini".
Did you mean:
ein
2012 Mar 09
4
For loop and using its index
...200 - x3
.
.
.
z20 = 200 - x20.
I tried using a for loop and its index as:
for (i in 1:20) {
z(i) = 200 - x(i)
}
But R gives the following error message: "Error: could not find function "x"".
Is there any other way for a simple coding of my 20 lines of code?
Alohas,
Hassan Eini-Zinab