search for: no_of_inst

Displaying 3 results from an estimated 3 matches for "no_of_inst".

2009 Dec 15
2
Random numbers for a group
Dear R helpers I have following table Name                 no_of_instances                    AAA                             12                                AA                               17                                A                                  0                                    BBB                             11                                ...
2009 Dec 28
2
Modified R Code
...) # ______________________________________________________________________________________________________________________________________________________________________________________________________________________________ N = 10000 # No of random numbers to be generated for each of the 4 rates no_of_instances = round(N*(read.csv('prob_table.csv')$Probability))     # #  THE ACTUAL PROBLEM - TO GENERATE 10000 random numbers in proportion and depending on the range of teh given rate in teh combination   write.csv(data.frame(rate1_range = ONS[,1], rate2_range = ONS[,2], rate3_range = ONS[,3], r...
2010 Feb 10
4
Readjusting the OUTPUT csv file
...___   ONS3 = read.csv('joint_probs3.csv') names3 = apply(ONS3[, -4], 1, paste, collapse = ' ')   write.csv(data.frame(rate_combination = names3, Probability3 = ONS3[, 4]), 'prob_table3.csv', row.names = FALSE)   ### ###### __________________________________________________   no_of_instances = N*(read.csv('prob_table3.csv')$Probability3)   write.csv(data.frame(rate1_range = ONS3[,1], rate2_range = ONS3[,2], rate3_range = ONS3[,3], no_of_instances), 'Final Table3.csv', row.names = FALSE)   ### ###### __________________________________________________   HM3 = read.cs...