Displaying 1 result from an estimated 1 matches for "rate_name2".
Did you mean:
rate_name
2010 Feb 10
4
Readjusting the OUTPUT csv file
...n 3 variables i.e. rates and thus my names are different in actual code.
## Beginning of a R code
## FUNCTION NO. 3
library(reshape)
no_rate = 3
combi_3 = function(n, N, rateA, rate_name1, rateA_rf1, rateA_rf2, rateA_rf3, rateAprob1, rateAprob2, rateAprob3,
rateB, rate_name2, rateB_rf1, rateB_rf2, rateB_rf3, rateBprob1, rateBprob2, rateBprob3,
rateC, rate_name3, rateC_rf1, rateC_rf2, rateC_rf3, rateCprob1, rateCprob2, rateCprob3)
{
rateA_prob1 = rateAprob3/2
rateA_prob2 = rateAprob2/2
rateA_prob3 = rateAprob1
rateA_prob4 = rateA_prob2
rateA_prob5 = rateA_p...