Displaying 1 result from an estimated 1 matches for "rate1_combin".
2009 Dec 28
2
Modified R Code
...no_of_instances), 'Final Table.csv', row.names = FALSE)
## Random number generation for Rate1
## -----------------------------------
HM = read.csv('Final Table.csv')
rate1_rates=rep(c("R11","R12","R13"),27)
rate1_rates
number = HM$no_of_instances
rate1_combination=rep(rate1_rates,number)
rate1_combination
interval.min=ifelse(rate1_combination=="R11",1.05,ifelse(rate1_combination=="R12",1.3,1.6))
interval.max=ifelse(rate1_combination=="R11",1.3,ifelse(rate1_combination=="R12",1.6,1.99))
rand.nums_rate1=runif(rate1_...