0

enter image description here

The question is I am trying to establish a for loop with two variable i and j, Variable i contains only 3 different character "BCC" "FCC" and "Other", and j is numerical. As you seem above I trys to have AG_BCC0.2 = AG_BCC0.2 +1 everytime the if statement is statisfy but currently I do not know how to finish this code. The code language is Rstudio

  • 1
    Refer https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example on how to ask a question at SO – Nad Pat Apr 06 '22 at 06:15
  • 1
    please make your question minimal AND reproducible. Refer to the FAQ to see how (or click the link above) – Wimpel Apr 06 '22 at 07:06

0 Answers0