RE: [R] Questions of t.test {stats}

2004-10-19 Thread Ted Harding
On 19-Oct-04 pcscan wrote: We are currently using the t-test in Package stats, [...] but have some troubles : 1. why does the t-test take so a long time to perform a single test on a row of a data.frame ? Is there any alternative function to perform t-test on all the rows of a

Re: [R] Questions of t.test {stats}

2004-10-19 Thread Marta Rufino
$estimate, Lower=c(c$conf.int[1]), Upper=c(c$conf.int[2]))} else {res=c(median=NA, Lower=NA, Upper=NA)} res } hope this helps, All the best, Marta - Original Message - From: pcscan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 19, 2004 4:04 AM Subject: [R] Questions

[R] Questions of t.test {stats}

2004-10-18 Thread pcscan
We are currently using the t-test in Package stats, t.test(x, y = NULL, alternative = c(two.sided, less, greater), mu = 0, paired = FALSE, var.equal = FALSE, conf.level = 0.95, ...) but have some troubles : 1. why does the t-test take so a long time to perform a single test on a