[R] Help with ARIMA seasonal time series

2008-09-13 Thread rkevinburton
I have a set of data that is basically 3+ years of data. It is daily sales for this year and then back 3 years so there are 3*365 + 231 days or 1326 days of data. Since this is a time series I have constructed it as: Start = c(1, 1) End = c(4, 231) Frequency = 365 In trying to ayalyze this

[R] using function instead of formula in plm

2008-09-13 Thread Erich STRIESSNIG
Hi all, I am trying to use plm to estimate coefficients in a model consisting of a system of equations. So far I used mle2 from the package bbmle, but now I need to test for autocorrelation and mle2 does not provide for the necessary tests. mle2 needs a 'function' as input that might as well

[R] Infinite series

2008-09-13 Thread Majid Sarmad
Is there any routine/trick in R to compute a convergence series? __ R-help@r-project.org mailing list 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,

[R] brushing with parallel coordinates

2008-09-13 Thread June Kim
Hello, I have a multivariate data with a single Y variable and 9 X variables. I tried drawing a parallel coordinates with the data set without a problem, using lattice library. However, I want to do some brushing on the graph. For example, I want to distinguish the group of data lines of which Y

Re: [R] R for data mining remotely

2008-09-13 Thread Felix Andrews
Rattle is a GTK+ application. For remote access one would typically write a web application. A relatively simple user interface could be built on the caret package, maybe. Another option might be to use a remote messaging system like SOAP to submit big jobs to a server. Perhaps you could adapt

Re: [R] Scatterplot with data grouped by color

2008-09-13 Thread Jim Lemon
Amanda Young wrote: Hi, I am a complete R rookie so this question is probably really simple but I haven't found an answer on the web that I can understand. My data frame has 3 columns, A, B and C. A and B have numbers (about 8000 rows), C is a factor which is either true or false. So I can

[R] Symbols On a Capscale Object Biplot

2008-09-13 Thread Rodrigo Aluizio
Hi, I'm a beginner with R, but I'm getting excellent results with it. Well I've got an capscale object (vegan package) and I want to made a biplot with symbols representing six groups of areas. With the plot.cca function and some par attributes (like 'labels') I was able to substitute the

[R] Symbols on a capscale object plot

2008-09-13 Thread Rodrigo Aluizio
Hi, I'm a beginner with R, but I'm getting excellent results with it. Well I've got an capscale object (vegan package) and I want to made a biplot with symbols representing six groups of areas. With the plot.cca function and some par attributes (like 'labels') I was able to substitute the samples

Re: [R] Symbols on a capscale object plot

2008-09-13 Thread Mark Difford
Hi Rodrigo, I would like to use something like squares, triangles and circles (filled and empty). You would normally add this using points(): ?points ## plot(1:10, type=n) points(1:5, pch=21:25, bg=1:5) points(6:10, pch=21:25, bg=c(1,darkgrey,cyan, bisque)) points(6:10, y=rep(6,5), pch=1:5)

Re: [R] making spearman correlation cor() call fail with log(0) as input

2008-09-13 Thread Martin Maechler
TS == Timur Shtatland [EMAIL PROTECTED] on Fri, 12 Sep 2008 11:52:25 -0400 writes: TS I am more used to getting an error if you try to take TS the log of 0, like this (in Perl): TS perl -le 'for my $num (1, 0, -1, -2) { print log $num; TS }' 0 Can't take log of 0 at -e line

Re: [R] QCC - Change Background Color and Remove X Axis Text

2008-09-13 Thread Henrique Dallazuanna
Try this: library(qcc) data(pistonrings) attach(pistonrings) diameter - qcc.groups(diameter, sample) qx - qcc(diameter[1:25,], type=xbar, plot = FALSE) .qcc.options$bg.margin = #FF par(xaxt = n) plot(qx) On Fri, Sep 12, 2008 at 10:29 PM, Dean Yergens [EMAIL PROTECTED] wrote: Hi, I

Re: [R] Scatterplot with data grouped by color

2008-09-13 Thread Martin Maechler
JIV == Jorge Ivan Velez [EMAIL PROTECTED] on Fri, 12 Sep 2008 18:39:04 -0400 writes: JIV Dear Amanda, JIV Try this: JIV # Data set JIV set.seed(123) JIV DF=data.frame(A=rnorm(10),B=rpois(10,10),C=sample(1:3,10,replace=T)) JIV attach(DF) JIV # Plot JIV

[R] A problem about the color of symbols exceeding the coordinate limits

2008-09-13 Thread Yihui Xie
Hi all, I don't know whether this is a bug in the function symbols(): when I use semi-transparency for the background color in the symbols plot, the colors of symols which exceed the coordinates limits will be lost (i.e. the symbols will be blank). For example: symbols(1:5, 1:5, 1:5, bg =

Re: [R] brushing with parallel coordinates

2008-09-13 Thread Greg Snow
You probably want either the ipcp function from the iplots package or the rggobi package (along with the ggobi program). Neither uses lattice, iplots uses java and rggobi passes your data to the ggobi program which does a lot with brushing/spinning/etc. For general brushing there is also the

Re: [R] Greyed text in the background of a plot

2008-09-13 Thread Yihui Xie
Hi Mark, Actually I have been considering for a long time to include such kinds of animations in the package 'animation'. In the next release (1.0-2), you will see a new function 'Rosling.bubbles()', which can generate animations like: http://animation.yihui.name/da:ts:hans_rosling_s_talk Of

Re: [R] moving from aov() to lmer()

2008-09-13 Thread roberto toro
Hello, I'm using this command to analyse changes in brain volume: mod1-aov(Volume~Sex*Lobe*Tissue+Error(Subject/(Lobe*Tissue)),data.vslt) I'm comparing males/females. For every subject I have 8 volume measurements (4 different brain lobes and 2 different tissues (grey/white matter)).

[R] R rpm for Mandriva 2008.1 ?

2008-09-13 Thread Joanne Demmler
Are there any R rpm's for Mandriva 2008.1? I found a couple of dodgy ones that wouldn't install so far (rpmfind.net). (Sorry that seems so far the only Linux distribution that recognizes my hardware on my new laptop correctly. I'm more familiar to Fedora and Suse so perhaps I'm just doing

[R] Beautify R scripts in microsoft word

2008-09-13 Thread Daren Tan
I am generating a report containing several R scripts in the appendix. Is there any way to beautify the R source codes in microsoft word, similar to what we see in tinn-R ? Thanks _ [[alternative HTML version deleted]]

Re: [R] R rpm for Mandriva 2008.1 ?

2008-09-13 Thread Andre Nathan
Hi Joanne There is a package in Mandriva's repository, called R-base. You can isntall it with urpmi R-base. HTH, Andre On Sat, 2008-09-13 at 16:48 +0100, Joanne Demmler wrote: Are there any R rpm's for Mandriva 2008.1? I found a couple of dodgy ones that wouldn't install so far

Re: [R] Symbols on a capscale object plot

2008-09-13 Thread Rodrigo Aluizio
Thank You Mark, With your tip now I'm able to chance the sites names for real symbols. Well, now I just have to find out how to change groups of sites names, that compose a 'biofacies', with different symbols (actually six groups) in the same plot. Maybe if I can define a factor that specifies

Re: [R] R rpm for Mandriva 2008.1 ?

2008-09-13 Thread Joanne Demmler
Found it, but there seems to be a dependency clash. Over the command line I get an error mentioning, that some packages are older than the ones installed and over the manager I simply get a message can't install package. Joanne __

Re: [R] Beautify R scripts in microsoft word

2008-09-13 Thread Dale Steele
Open script in Tinn-R, select script to copy. Then use menu Edit:Copy formatted (to export) -- RTF Paste into MS word. --Dale On Sat, Sep 13, 2008 at 1:30 PM, Daren Tan [EMAIL PROTECTED] wrote: I am generating a report containing several R scripts in the appendix. Is there any way to

Re: [R] Symbols on a capscale object plot

2008-09-13 Thread Mark Difford
Hi Rodrigo, Maybe if I can define a factor that specifies these groups and use this factor to assign the symbols. Yes, that's the idea. Some ordination-oriented packages make this easier to do than others. You should look through vegan carefully to see the full offering. Nevertheless, it's

Re: [R] Symbols on a capscale object plot

2008-09-13 Thread Mark Difford
Hi Rogrido, Sorry: The first points() call was missing a vital comma. It should have been. points(ord.obj$scores[mydf$Site==MarkerA, ], pch=21, bg=red) See ?[ Mark Difford wrote: Hi Rodrigo, Maybe if I can define a factor that specifies these groups and use this factor to assign the

Re: [R] Parallel stem-and-leaf displays

2008-09-13 Thread Celia Chen
Thank you Jim. Here I creat an example: A-c(1.1,1.2,2.2,1.3, 1.5, 2.5) B-c(2.2,2.3,2.4,2.2, 2.0,1.9, 2.5) I will need to draw the parallel stem-and-leaf displays to show the difference in trend/pattern between the two data patches. And I think parellel

Re: [R] brushing with parallel coordinates

2008-09-13 Thread Deepayan Sarkar
On 9/13/08, June Kim [EMAIL PROTECTED] wrote: Hello, I have a multivariate data with a single Y variable and 9 X variables. I tried drawing a parallel coordinates with the data set without a problem, using lattice library. However, I want to do some brushing on the graph. For example, I

[R] Querry in Biclust

2008-09-13 Thread ram basnet
Dear R users,   I am new user of R as well as Biclust package. I am handling data set of (236 genes and 166 conditions) and i knew the importance of Biclustering. Now, I am able to get some results but can not understand the result as what i am thinking. My thinking may be wrong. I used

Re: [R] Parallel stem-and-leaf displays

2008-09-13 Thread David Winsemius
On Sep 13, 2008, at 4:21 PM, Celia Chen wrote: Thank you Jim. Here I creat an example: A-c(1.1,1.2,2.2,1.3, 1.5, 2.5) B-c(2.2,2.3,2.4,2.2, 2.0,1.9, 2.5) I will need to draw the parallel stem-and-leaf displays to show the difference in trend/pattern

Re: [R] Beautify R scripts in microsoft word

2008-09-13 Thread Yihui Xie
Or use the software Highlight: http://www.andre-simon.de/ (Remember that you may need to change the R definition file 'r.lang' using the function highlight.def() in package 'animation') P. S. sorry Dale, I often forget to click Reply to all and as a result, send my reply to a single person :-(

Re: [R] Beautify R scripts in microsoft word

2008-09-13 Thread Yihui Xie
And if you don't want to type spaces or indent manually when you write your code, you may also use the function 'tidy.source()' (in the package 'animation') to add spaces and indent automatically. For example: http://animation.yihui.name/animation:misc#tidy_up_r_source Hope this will beautify

[R] Error Running TinnR with R

2008-09-13 Thread Videep
Hello All, I am using Tinn-R (v 2.0.0.7) integrated with R (v 2.7.2) on a 32-bit Windows Vista system. When I try to run a code and send it to R from Tinn-R, I get the following error message; “Error in source(.trPaths[5], echo = T) : object .trPaths not found” I was using an earlier version

Re: [R] Error Running TinnR with R

2008-09-13 Thread Yihui Xie
You should edit the file Rprofile.site, as described in http://sourceforge.net/forum/forum.php?forum_id=864071 During the start of R, some values (paths) will be assigned to .trPaths. Yihui On Sun, Sep 14, 2008 at 11:52 AM, Videep [EMAIL PROTECTED] wrote: Hello All, I am using Tinn-R (v