Displaying 1 result from an estimated 1 matches for "no_of_interest_r".
2009 Dec 21
2
Reading multiple Input Files
...R working directory, following files are there which are to be read as input..
rate1_range.csv
rate2_range.csv
rate3_range.csv
rate4_range.csv
rate1_probs.csv
rate2_probs.csv
rate3_probs.csv
rate4_probs.csv
My R Code
# _______________________________________________________________
n = no_of_Interest_Rates # This 'n' will be suppllied separately& can be anything.
n= 4 # As mentioned, this input will be added seperately.
for (i in 1:n)
{
rate_[i] = read.csv('rate[i]_range.csv')
prob_[i] = read.csv('rate[i]_probs.csv')
}
# End of code.
However w...