[R] problems creating data frames

2008-03-14 Thread Will Holcomb
I am having two problems creating data frames that I have solutions, but they really seem like kludges and I assume I just don't understand the proper R way of doing things. The first situation is I have an set of uneven data vectors. When I try to use them to create a data frame I would like the

[R] gracefully handing a library load error

2008-03-11 Thread Will Holcomb
I have an R program I am attempting to use to generate some SVGs. I've been using the cairoDevice library. When running a session not connected to an X session (like if I'm sshed in), attempting library(cairoDevice) causes: *** caught segfault *** address 0x8, cause 'memory not mapped'

[R] simulating the anova

2008-03-04 Thread Will Holcomb
I have been trying to figure out how to run a simple simulation of the ANOVA and I'm coming up just a bit short. The code I've got is: cohen.f = .25 groups = 4 between.var = 19 within.var = between.var / cohen.f ^ 2 n = 500 sim.means = rnorm(n = groups, mean = 0, sd = sqrt(between.var)) sim.data

[R] anova power calculations

2008-02-21 Thread Will Holcomb
I sent a message a couple days ago about doing calculations for power of the ANOVA. Several people got back to me very quickly which I really appreciated. I'm working now on a similar problem, but instead of a balanced ANOVA, I have an unbalanced one. The first part of the question was: You

Re: [R] anova power calculations

2008-02-21 Thread Will Holcomb
distribution noncentral.p = pf(central.quart, J - 1, N - J, noncentral.param, lower.tail= FALSE) Will 2008/2/21 Will Holcomb [EMAIL PROTECTED]: I sent a message a couple days ago about doing calculations for power of the ANOVA. Several people got back to me very quickly which I really appreciated. I'm

[R] one-way anova power calculations

2008-02-19 Thread Will Holcomb
I have been attempting some basic power calculations using R and I am not getting the results I expect. I had a homework assignment in SAS, but I want to learn R as well, so I was attempting to reproduce my result. (No one else in the class is doing R, so there's no need to obsfucate the answer,

Re: [R] difficulties computing a simple anova

2008-01-31 Thread Will Holcomb
be able to take it from there. (Since this is a homework problem, I'm being intentionally vague.) cheers, Simon. On Wed, 2008-01-30 at 18:47 -0600, Will Holcomb wrote: My grasp of R and statistics are both seriously lacking, so if this question is completely naive, I apologize in advance

Re: [R] difficulties computing a simple anova

2008-01-31 Thread Will Holcomb
, -- *From:* [EMAIL PROTECTED] on behalf of Will Holcomb *Sent:* Thu 1/31/2008 8:10 AM *To:* Simon Blomberg *Cc:* r-help *Subject:* Re: [R] difficulties computing a simple anova Excellent. I was able to do the analysis with no problem. I just had to do some twiddling

[R] difficulties computing a simple anova

2008-01-30 Thread Will Holcomb
My grasp of R and statistics are both seriously lacking, so if this question is completely naive, I apologize in advance. I've hunted for a couple hours on the internet and none of the methods I've found have produced the result I'm looking for. I'm currently a student in a Statistics class and