Re: [R] with vs. attach

2016-05-05 Thread Bert Gunter
... and it's exactly with.default's code ! Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, May 5, 2016 at 7:38 PM, Spencer Graves

Re: [R] with vs. attach

2016-05-05 Thread Spencer Graves
Hi, David: That works. Thanks very much. Spencer Graves On 5/5/2016 7:43 PM, David Winsemius wrote: On May 5, 2016, at 5:12 PM, Spencer Graves wrote: I want a function to evaluate one argument in the environment of a data.frame supplied as another

Re: [R] with vs. attach

2016-05-05 Thread David Winsemius
> On May 5, 2016, at 5:12 PM, Spencer Graves > wrote: > > I want a function to evaluate one argument > in the environment of a data.frame supplied > as another argument. "attach" works for > this, but "with" does not. Is there a way > to make "with" work?

[R] with vs. attach

2016-05-05 Thread Spencer Graves
I want a function to evaluate one argument in the environment of a data.frame supplied as another argument. "attach" works for this, but "with" does not. Is there a way to make "with" work? I'd rather not attach the data.frame. With the following two functions "eval.w.attach" works but

Re: [R] How to access to an created array with a cicle for

2016-05-05 Thread Sarah Goslee
You can use get(), but a more R-like way is to make a list of these matrices instead of 600 separate objects. thismat <- get(paste(E,x,y,z,sep="_")) Sarah On Thu, May 5, 2016 at 12:06 PM, Catarina Silva wrote: > Hi, > > I'm organizing one data base

[R] How to access to an created array with a cicle for

2016-05-05 Thread Catarina Silva
Hi, I'm organizing one data base in array's (matrix of positions and for each position I have a vector with 5 variables). And I have approximately 600 array's. To construct these array's I've used a for cicle and after construct the array I named it like: E_1_1_1.1, and I've done the same for

Re: [R] how to compute Bonferroni, Tukey's, Sheffe 95%-condence intervals for coefficients B1, B2, B3 in linear regression?

2016-05-05 Thread Greg Snow
OK, I think that I understand better. In your original post it appeared that you already had used the multcomp package. But now it looks like you have heard that multcomp is the tool to use, but you don't know how to use it, is that correct? p.s. It is best to keep these discussions on the

Re: [R] Can't resolve ... [Solved] Thanks everybody

2016-05-05 Thread C Säger
Thank you Jim, John and Jeff. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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,

[R] moran's I visualization example

2016-05-05 Thread Alaios via R-help
Hi there,in case one has found a nice and easy reproducible example of a Morans'I example where neighborhoods are depicted and their calculated correlations are visible as well.Point is to make some examples that I can share with students that want to understand fast what is the notion about.

Re: [R] how to compute Bonferroni, Tukey's, Sheffe 95%-condence intervals for coefficients B1, B2, B3 in linear regression?

2016-05-05 Thread Greg Snow
Super, Are you just interested in having the final intervals computed for you? Or are you trying to compute them yourself so that you can learn more about what they do? Or something else? If the first is the case then you can just use the multicomp package as you have mentioned. David was

Re: [R] Changing transformations in mi package

2016-05-05 Thread Elizabeth Hensor
Thanks very much for your help David. I'll contact Ben Goodrich. -Original Message- From: David L Carlson [mailto:dcarl...@tamu.edu] Sent: 04 May 2016 22:24 To: Elizabeth Hensor; 'r-help@r-project.org' Subject: RE: Changing transformations in mi package Thank you for providing a working

Re: [R] how to compute Bonferroni, Tukey's, Sheffe 95%-condence intervals for coefficients B1, B2, B3 in linear regression?

2016-05-05 Thread super
Tks for you attention, i want to know Bonferroni, Tukey's, Sheffe 95%-condence intervals for coefficients in linear regression, for example, fit <- lm(y ~ x1 + x2) confint(fit) would give b0,b1,b2 95%CIs, but i want to get Bonferroni, Tukey's, Sheffe 95%-condence intervals for these

[R] boostrap - not converging cycles

2016-05-05 Thread Rosa Oliveira
Dear all, I have a problem, rather serious and I am not being able to resolve it. I started working with R a few time ago :( I’m running a bootstrap analyses for 2 different methods and It was expected that I get the same coefficients and standard errors for both, consequently the same

[R] request for collaborator for animation of optimization computations

2016-05-05 Thread ProfJCNash
In an email exchange with Hans Werner Borchers, two optimization problems were mentioned where the optimization parameters define positions that can be graphed. One is a chain hanging problem (catenary) and the other the largest area polygon where the vertices cannot be more than one unit apart.