Re: [R] productivity tools in R?

2009-07-02 Thread Kevin W
On Wed, Jul 1, 2009 at 12:35 PM, miguel bernal wrote: > > and debugging. I think there is a package to visualize the links between > functions in a package, but I don't know its name (if anybody knows it, I > will love to know it). > See the 'foodweb' function in the mvbutils package. Kevin

Re: [R] Split plot analysis problems

2009-07-21 Thread Kevin W
I don't think you are clear enough about the layout within each block. If the four treatments are randomized, I would choose the first model. KW On Tue, Jul 21, 2009 at 9:38 AM, Jean-Paul Maalouf < jean-paul.maal...@u-bordeaux1.fr> wrote: > Hello, > > I would be very grateful if someone could

[R] Any R workshops on BUGS or resampling or other...?

2009-05-15 Thread Kevin W
I would like to know about any workshops/meetings on the topics of (1) using some version of BUGS with R (2) resampling methods (3) other advanced courses. Thanks for any ideas. Kevin Wright [[alternative HTML version deleted]] __ R-help@r-pro

[R] Changing point color/character in qqmath

2009-05-27 Thread Kevin W
Having solved this problem, I am posting this so that the next time I search for how to do this I will find an answer... Using qqmath(..., groups=num) creates a separate qq distribution for each group (within a panel). Using the 'col' or 'pch' argument does not (usually) work because panel.qqmath

Re: [R] Sort matrix by column 1 ascending then by column 2 decending

2009-05-27 Thread Kevin W
See also this tip on the R wiki: http://wiki.r-project.org/rwiki/doku.php?id=tips:data-frames:sort Also available as the orderBy function in the doBy package. Kevin Wright On Wed, May 27, 2009 at 11:19 AM, Linlin Yan wrote: > It's a very interesting problem. I just wrote a function for it: >

Re: [R] Changing point color/character in qqmath

2009-05-27 Thread Kevin W
009 at 11:05 AM, Kevin W wrote: > Having solved this problem, I am posting this so that the next time I > search for how to do this I will find an answer... > > Using qqmath(..., groups=num) creates a separate qq distribution for each > group (within a panel). Using the 'col&

Re: [R] Changing point color/character in qqmath

2009-05-28 Thread Kevin W
(qnorm(ppoints(length(x) }, panel = function(x, ...) { qx <- qnorm(ppoints(length(x)))[rank(x)] panel.xyplot(qx, x, ...) }) Kevin On Wed, May 27, 2009 at 4:39 PM, Kevin W wrote: > Thanks to Deepayan, I have a corrected version of how to color poi

Re: [R] Excel Export in a beauty way

2009-06-04 Thread Kevin W
Also see this post at https://stat.ethz.ch/pipermail/r-help/2008-July/169149.html The same idea is discussed in a SAS proceedings paper (but it is NOT specific to SAS) www.lexjansen.com/wuss/2005/data_presentation/dp_using_*sas*_with_xml.pdf

Re: [R] Sweave template

2009-06-16 Thread Kevin W
Frank, Your template is very interesting. The "pretty-ifing" of the left arrow and tilde in the input chunk has the unfortunate side-effect of making the code non-paste-able into R. I seem to recall that your reports used to include the latex source code as an appendix. Maybe one option could b

Re: [R] Selecting / creating unique colours for behavioural / transitional data

2009-03-25 Thread Kevin W
Here's another offering of an attempt to create unique colors. These are light/medium colors...no dark colors. cols <- matrix(c(0, 0, .90, # gray .3, 0, .70, .6, 0, .50, 0, .15, 1, # red 0, .30, 1, 0, .45, 1,