标签:
> x=rnorm(5)
> x
[1] 1.1017795 0.7557815 -0.2382336 0.9874447 0.7413901
> y=rnorm(5)
> y
[1] 0.08934727 -0.95494386 -0.19515038 0.92552126 0.48297852
--------------------------------------------------------------------------
> set.seed(10)
> x=rnorm(5)
> x
[1] 0.01874617 -0.18425254 -1.37133055 -0.59916772 0.29454513
> set.seed(10)
> y=rnorm(5)
> y
[1] 0.01874617 -0.18425254 -1.37133055 -0.59916772 0.29454513
------------------------------------------------------------------------------
> set.seed(35)
> x=rnorm(5)
> x
[1] 1.06512533 0.13288118 -0.03404401 -0.04497635 3.33783786
> set.seed(35)
> y=rnorm(5)
> y
[1] 1.06512533 0.13288118 -0.03404401 -0.04497635 3.33783786
标签:
原文地址:http://www.cnblogs.com/wwxbi/p/4637647.html