Skip to content
Prev 247015 / 398506 Next

Generation of Normal Random Numbers

m <- c(1004.1, 1028.3, 1044.3, 861.4)
s <- c(194.5899, 158.7052, 123.3000, 285.8695)
x <- mapply(function(mi, si) rnorm(25, mi, si), m, s)

Hope this helps,

Michael
On 11 January 2011 17:44, saggak <saggak1908 at yahoo.co.in> wrote: