Displaying 2 results from an estimated 2 matches for "rate3_probs".
Did you mean:
rate1_probs
2009 Dec 21
2
Reading multiple Input Files
...= read.csv('rate1_range.csv')
rate_2 = read.csv('rate2_range.csv')
rate_3 = read.csv('rate3_range.csv')
rate_4 = read.csv('rate4_range.csv')
prob_1 = read.csv('rate1_probs.csv')
prob_2 = read.csv('rate2_probs.csv')
prob_3 = read.csv('rate3_probs.csv')
prob_4 = read.csv('rate4_probs.csv')
However, since I am not sure how many interest rates I will be dealing with to begin with, I have tried to call these inputs using a loop as follows.
In my R working directory, following files are there which are to be read as input..
...
2009 Dec 28
2
Modified R Code
...= read.csv('rate1_range.csv')
rate_2 = read.csv('rate2_range.csv')
rate_3 = read.csv('rate3_range.csv')
rate_4 = read.csv('rate4_range.csv')
prob_1 = read.csv('rate1_probs.csv')
prob_2 = read.csv('rate2_probs.csv')
prob_3 = read.csv('rate3_probs.csv')
prob_4 = read.csv('rate4_probs.csv')
rate1_min_1 = rate_1$rate1_range1_min
rate1_max_1 = rate_1$rate1_range1_max
rate1_min_2 = rate_1$rate1_range2_min
rate1_max_2 = rate_1$rate1_range2_max
rate1_min_3 = rate_1$rate1_range3_min
rate1_max_3 = rate_1$rate1_range3_m...