how do i use set.seed? for example i want to generate fix x with different value of y each time i.e
genarate x<-rnorm(10) generate y<-rnorm(10) i want have x fix but y changes at each iteration. this what i try but is not working { set.seed(100) x<-10*runif(10) } x set.seed(y<-rnorm(10)) y [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.