In the following flavoring link you’ll be redirct to a post from blog.revolutionanalytics.com/ dealing with generting random numbers using functions runif() and sample() of R.
As a language for statistical analysis, R has a comprehensive library of functions for generating random numbers from various statistical distributions. In this post, I want to focus on the simplest of questions: How do I generate a random number?
The answer depends on what kind of random number you want to generate. Let’s illustrate by example.
To read the complete post you should follow -> http://blog.revolutionanalytics.com/2009/02/how-to-choose-a-random-number-in-r.html
Deixe um comentário
Comentários 1