Displaying 1 result from an estimated 1 matches for "rate4_combin".
2009 Dec 28
2
Modified R Code
..._series = data.frame(rate3_combination,rand.nums_rate3)
write.csv(data.frame(rate3_series), 'rate3_series.csv', row.names = FALSE)
## Random number generation for Rate4
rate4_rates=rep(c("R41","R42","R43"), each = 27)
rate4_rates
number = HM$no_of_instances
rate4_combination=rep(rate4_rates,number)
rate4_combination
interval.min=ifelse(rate4_combination=="R41",4.05,ifelse(rate4_combination=="R42",4.3,4.6))
interval.max=ifelse(rate4_combination=="R41",4.3,ifelse(rate4_combination=="R42",4.6,4.99))
rand.nums_rate4=runif(rate4_...