can anyone please help me make this for loop work in R? I am trying to create a loop for threshold i=0-1 with 100 steps to get value of z for each threshold.
for(