Displaying 1 result from an estimated 1 matches for "tp4650286p4650295".
2012 Nov 21
5
Creating a frequency table for binomial varaible
Hello,
I have simulated 30 observations from a binomial(5,0.1) distribution.
Now I need to make frequency table( that means I need to tally how many 0's
, 1's 2's....... 5's)
I know that the simple R function table() will do this, but I am afraid
that some times I may get zero frequency for some particular values (for
example in the above there are 5-0's 10-1's ,