statistics - Random vector a with elements from the uniform distribution in R -


i'm new r , i'm looking through book called "discovering statistics using r".

although book implies don't need statistical background, of content isn't covered/explained...

i'm wondering how simulate random vector 200 elements uniform distribution on interval (-50, 50).

maybe i'm unsure because of terminology used. example created vector 200 elements range inbetween -50 , 50... i'm checking if correct.

or there function generates random values there in java? haven't found on google either regarding r providing random values.

runif(200, -50, 50) 

will trick.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -