Displaying 1 result from an estimated 1 matches for "add_c".
Did you mean:
ad_dc
2010 Feb 10
4
Readjusting the OUTPUT csv file
...eA_rf1
rateB3 = rateB-rateB_rf1
rateB4 = rateB+rateB_rf1
rateC3 = rateC-rateC_rf1
rateC4 = rateC+rateC_rf1
rate_gen_num = length(om3$rateA) ### THIS rateA is from the scenario table.
add_A = runif(N-rate_gen_num, rateA3, rateA4)
add_B = runif(N-rate_gen_num, rateB3, rateB4)
add_C = runif(N-rate_gen_num, rateC3, rateC4)
if(rate_gen_num < N) rateA_adj = data.frame(namesA = paste(rate_name1, 3, sep = ""), adj_rateA = add_A) else rateA_adj = 0
if(rate_gen_num < N) rateB_adj = data.frame(namesB = paste(rate_name2, 3, sep = ""), adj_rateB = add_B) else...