Clipping: Choosing random numbers with R!

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.
 

Publicado em março 25, 2013, em Data Handling, Simple Solutions. Adicione o link aos favoritos. Deixe um comentário.

Deixe um comentário