Hello I used SIGN.test function in R 2.12.2 to apply one sample sign test and it is worked well ,but I want to put statistic in a variable and I could not get this value, I used : x=rnorm(100) t=SIGN.test(x,md=0,alt="less") t$rval[1]$statistic the last command work in the old version of R but it does not work in R 2.12.2. what can I do to get value of statistic?? Regards Sulafah [[alternative HTML version deleted]]
On Jan 2, 2013, at 10:45 AM, solafah bh wrote:> Hello > I used SIGN.test function in R 2.12.2 to apply one sample sign test > and it is worked well ,but I want to put statistic in a variable and > I could not get this value, > I used : > x=rnorm(100) > t=SIGN.test(x,md=0,alt="less") > t$rval[1]$statistic > > the last command work in the old version of R but it does not work > in R 2.12.2. what can I do to get value of statistic?? >What document leads you to (erroneously) believe there is any function spelled "SIGN.test" in base R? Perhaps some package? -- David Winsemius, MD Alameda, CA, USA
On 03/01/13 07:45, solafah bh wrote:> Hello > I used SIGN.test function in R 2.12.2 to apply one sample sign test and it is worked well ,but I want to put statistic in a variable and I could not get this value, > I used : > x=rnorm(100) > t=SIGN.test(x,md=0,alt="less") > t$rval[1]$statistic > > the last command work in the old version of R but it does not work in R 2.12.2. what can I do to get value of statistic??There does not appear to be any such function as "SIGN.test" in the default configuration of R. See fortune("mind_read"). cheers, Rolf Turner