[R] Simulating data

Mª Teresa Martinez Soriano teresamarso at hotmail.com
Fri Apr 4 10:49:10 CEST 2014


Hi to everyone


To simulate data I only know this command:

rnorm(n , mean, sd)
 
It exists another way to specify Median and range as well?

The point is that I have  this information about the variable:


Median: 4.3
Mean: 4.2
SD: 1.8
Range: 0-8

and I need a boxplot, but I don't have the original data, simulating data 
looks a good idea to solve it.

Thanks in advance. 		 	   		  



More information about the R-help mailing list