Displaying 1 result from an estimated 1 matches for "liuxf".
Did you mean:
liux
2012 Nov 30
3
protentially serious R error
Hi guy,
I have recently encountered a problem while I was just trying to generate
some random numbers with the function "rnorm", the problem is shown below:
########case 1############
> rnorm(20*0.2)
[1] -1.2765922 -0.5732654 -1.2246126 -0.4734006
########case 2###########
*> rnorm(20*(1-0.8))
[1] -0.62036668 0.04211587 -0.91092165*
#########case 3############
> a<-0.2
>