Re: [R] use switch or function in connecting different cases.

2016-04-25 Thread David L Carlson
gy Texas A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of s ji Sent: Monday, April 25, 2016 11:17 AM To: r-help@r-project.org Subject: Re: [R] use switch or function in connecting different cases. This

Re: [R] use switch or function in connecting different cases.

2016-04-25 Thread s ji
0,25,100,25,100),5) sds<-rep(c(1,1.5,2,2.5,3),9) all<-cbind(s1,s2,sds) R<-Nsimulation(S1=s1,S2=s2,Sds=sds,nSims=5) But the result didnt update itself..Any comment please? From: R-help on behalf of tan sj Sent: Monday, April 25, 2016 1:02 AM To: r

[R] R: use switch or function in connecting different cases.

2016-04-24 Thread tan sj
HI, I am trying to use switch () function to connect the three distribution (normal ,gamma with equal skewness and gamma with unequal skewness. But i am losing my ideas since i have sample sizes-(10,10),(10,25),(25,25),(25,50),(25,100),50,25),(50,100), (100,25),(100,100) standard deviation rat