Re: [R] 'yum install R' failing with tcl/tk issue

2013-10-25 Thread Prof Brian Ripley
On 25/10/2013 02:33, Michael Stauffer wrote: Hi, I'm trying to install R on CentOS 6.4. This is not the right list. But - As the posting guide says, we only support current R here. R 2.10.0 is ancient, and other people seem to have found 3.0.1 RPMs for Centos 6.3. - It seems your RPM is

Re: [R] bug in dummy.coef?

2013-10-25 Thread Alexandra Kuznetsova
Thank you for the reply! I need to use it in the package for constructing the contrast matrices. Renaming a variable like y2 - y^2 will not be a solution for me... Will try to look whether the function dummy.coef can be modified to work this issue. With best regards, Alexandra -Original

Re: [R] Nonparametric k-way ANOVA

2013-10-25 Thread Gerrit Eichner
Hello, Vincent, you may want to take a look at Nonparametric methods in factorial designs by Edgar Brunner and Madan L. Puri in Statistical Papers 42, 1-52 (2001). There is the R-package nparcomp for one-way layouts, but the paper goes further (and mentions another software) and is maybe a

Re: [R] 'yum install R' failing with tcl/tk issue

2013-10-25 Thread Milan Bouchet-Valat
Le jeudi 24 octobre 2013 à 21:33 -0400, Michael Stauffer a écrit : Hi, I'm trying to install R on CentOS 6.4. Following some instructions online, I've done this: rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm yum install R But yum fails,

[R] add a color band

2013-10-25 Thread Alaios
Hi all, I would like to ask your help to add a color band (Ι am not sure regarding the right term, this color band at the right of the plot describing values with their corresponding color. For now I have only this code test-matrix(data=runif(1),nrow=100) plot(test,axes=FALSE)

Re: [R] add a color band

2013-10-25 Thread Jim Lemon
On 10/25/2013 08:38 PM, Alaios wrote: Hi all, I would like to ask your help to add a color band (Ι am not sure regarding the right term, this color band at the right of the plot describing values with their corresponding color. For now I have only this code

Re: [R] How can I use a script l (LaTeX \ell) in mathematical annotation of plots?

2013-10-25 Thread Eik Vettorazzi
Hi Byron, You may have a look at the tikzDevice package, it solves the aesthetic issue of font mixing. You can sweave the following example \documentclass{article} \usepackage{tikz} \begin{document} \SweaveOpts{concordance=TRUE} \begin{figure}[!h] \centering fig1, echo=FALSE, fig=FALSE,

Re: [R] 'yum install R' failing with tcl/tk issue

2013-10-25 Thread Marc Schwartz
On Oct 25, 2013, at 1:29 AM, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: On 25/10/2013 02:33, Michael Stauffer wrote: Hi, I'm trying to install R on CentOS 6.4. This is not the right list. But - As the posting guide says, we only support current R here. R 2.10.0 is ancient, and

Re: [R] add a color band

2013-10-25 Thread Alaios
Hi Jim and thanks for help I will need some help to make -the legend visible (probably at the right side of the window) -split the legend at 0.1 steps -1,-0.9,-0.8.1 and -assign a color heat.color(30). I have selected orange and reds -show me the way to change the size of legend if it would

[R] Revo R for Arima Implementation

2013-10-25 Thread Anindita Chattopadhyay
Hello There, We have used ARIMA(multiplicative MA and additive AR) model in SAS to come to our results. Please let me know how could that be implemented in R. Like, In SAS we can pass the variable as AR= (1,7) and MA=(1)(7) which is additive and multiplicative respectively. In R we have the

[R] Regarding rgdal package installation in R

2013-10-25 Thread S Karthiga1
Hi , I'm in-need of rgdal installation for R in our CentOS 6 machine to handle shapefiles. I had downloaded rgdal package from CRAN. While trying to install its showing lots of dependencies like proj-api.h missing , geos-config etcSo i'm trying to install libgeos-devel-..rpm and

Re: [R] Regarding rgdal package installation in R

2013-10-25 Thread S Ellison
-Original Message- I'm in-need of rgdal installation for R in our CentOS 6 machine to handle shapefiles. Is there any reason that you cannot run install.packages(rgdal) which would be the recommended way to install a package with all dependencies automatically downloaded and

Re: [R] Use R to plot a directory tree

2013-10-25 Thread Michael Friendly
On 10/24/2013 9:13 AM, Thaler,Thorn,LAUSANNE,Applied Mathematics wrote: Dear all, I was wondering whether (or better: how) I can use R to read recursively a directory to get all the sub-folders and files located in the root folder and put it into a tree like structure where the leaves are

Re: [R] Regarding rgdal package installation in R

2013-10-25 Thread Prof Brian Ripley
On 25/10/2013 13:48, S Ellison wrote: -Original Message- I'm in-need of rgdal installation for R in our CentOS 6 machine to handle shapefiles. Is there any reason that you cannot run install.packages(rgdal) which would be the recommended way to install a package with all

[R] What computer power for GAMM models

2013-10-25 Thread Sylvie Martin
Hello, I use GAMM function (MGCV package) in R software to study relationship between pollen and pollinosis. My models include autoregressive terms. Here is an exemple: CupAR7_2lt;-gamm(nb_rca_2~s(Trend,bs=ps,k=49) +Semaine nbsp;nbsp;nbsp; nbsp;nbsp;nbsp; nbsp;nbsp;nbsp; +s(TX03,bs=ps,k=8)

Re: [R] What computer power for GAMM models

2013-10-25 Thread Bert Gunter
Sylvie: I do not know whether your system lacks sufficient power, but its user -- you -- may. The models you are trying to fit are complex and nonlinear, and possibly depending on your data -- do you have a lot of missingness? How large are your data sets? Can they support your models -- you

Re: [R] What computer power for GAMM models

2013-10-25 Thread Bert Gunter
... and, I should have added, your maxiter parameters in the call are set way too high. Lowering them to something more sensible will also get your error messages faster. -- Bert On Fri, Oct 25, 2013 at 6:19 AM, Sylvie Martin smartin_se...@orange.fr wrote: Hello, I use GAMM function (MGCV

[R] Equation of an Ellipse in R

2013-10-25 Thread Anamika Chaudhuri
Hi All: I was looking for some help to code the equation of an ellipse in R, given I have a Bivariate Normal distribution (X,Y) with mean (m1,m2) and var-covariance matrix (var1,cov12,cov12,var2). Thanks Anamika [[alternative HTML version deleted]]

Re: [R] Equation of an Ellipse in R

2013-10-25 Thread Jeff Newmiller
See below. On Fri, 25 Oct 2013, Anamika Chaudhuri wrote: Hi All: I was looking for some help to code the equation of an ellipse in R, given I have a Bivariate Normal distribution (X,Y) with mean (m1,m2) and var-covariance matrix (var1,cov12,cov12,var2). Since you have posted on this topic

Re: [R] What computer power for GAMM models

2013-10-25 Thread Gavin Simpson
1) The model is far too complex. I have trouble imagining a system where the trend potentially uses 49 degrees of freedom and yet the unexplained variance within years follows an AR(7). It looks like you have time points within years over many years; is that why you are trying to use such a

Re: [R] Nonparametric k-way ANOVA

2013-10-25 Thread Vicent Giner-Bosch
Thanks to all!! Gerrit, thank you for the reference. I was looking for something like that, but I was not able to find it. I partially agree with some of you, who said that nonparametric k-way ANOVA is a little bit of contradiction, but I just wanted to have an alternative to classical ANOVA.

Re: [R] Revo R for Arima Implementation

2013-10-25 Thread Rolf Turner
Your question is pretty well totally opaque to me. Describe the model you want to fit in mathematical terms, rather than referring to The Package That Must Not Be Named. This is the ***R*** list. It is possible that you might want to make use of the seasonal argument to the arima()

Re: [R] bug in dummy.coef?

2013-10-25 Thread Rolf Turner
On 10/25/13 19:24, Alexandra Kuznetsova wrote: Thank you for the reply! I need to use it in the package for constructing the contrast matrices. Really? Renaming a variable like y2 - y^2 will not be a solution for me... With sufficient effort and diligence (and programming skill) I

Re: [R] add a color band

2013-10-25 Thread Jim Lemon
On 10/25/2013 11:16 PM, Alaios wrote: Hi Jim and thanks for help I will need some help to make -the legend visible (probably at the right side of the window) -split the legend at 0.1 steps -1,-0.9,-0.8.1 and -assign a color heat.color(30). I have selected orange and reds -show me the way to

[R] Proportional Odds Model

2013-10-25 Thread li li
Hi all, I am trying to perform an ordinal regression using proportional odds model. First I would like to test whether the assumption of proportional odds is supported by the data. I got the following error message when I try to fit one of the relevant models. Can anyone give some suggestions on

[R] Adding up normally distributed numbers seems to not create a t-distribution

2013-10-25 Thread Kramer, Christian
Hi there, I have found a strange behavior in R that puzzles me - maybe it is a bug or a basic scientific misunderstanding of mine… anyway, I would highly appreciate some feedback on this, since I did not find anything on the internet. I am trying to simulate a t-distribution by adding up

[R] problem fitting 2 term exponential with nls

2013-10-25 Thread Tom Wright
Hi, Can anyone explain why the nls function is giving an error? Thanks Tom head(d) age time 1 23.57 223.0 2 42.63 223.0 3 62.30 222.0 4 32.93 220.5 5 9.37 228.0 6 23.83 227.0 fit-nls(d$time~a1*exp(b1*d$age) + a2*exp(b2*d$age)+c

[R] failure to build R-3.0.1, R-3.0.2 from source

2013-10-25 Thread Gennady Margolin
Hi, I will appreciate your help - I am trying to build/install R (3.0.2, and same with 3.0.1) from source on CentOS 5.9. After running './configure --prefix=/my/dir, and issuing 'make', I get an error that package 'compiler' was built before R 3.0.0: please re-install it, and the build fails:

[R] Quick help needed in coding quantile normalization

2013-10-25 Thread helpwperl
I'm trying to code quantile normalization without using any fancy functions (e.g., normalizeBetweenArrays(), normalize.quantities(), etc.). I'm having a hard time trying to re-order the columns of my means matrix to match the original unsorted matrix. I assume I will have to somehow utilize

Re: [R] problem fitting 2 term exponential with nls

2013-10-25 Thread Berend Hasselman
On 25-10-2013, at 17:29, Tom Wright t...@maladmin.com wrote: Hi, Can anyone explain why the nls function is giving an error? Thanks Tom head(d) age time 1 23.57 223.0 2 42.63 223.0 3 62.30 222.0 4 32.93 220.5 5 9.37 228.0 6 23.83 227.0

Re: [R] Adding up normally distributed numbers seems to not create a t-distribution

2013-10-25 Thread Jeff Newmiller
That would be an expected result. Recommend that you hit the books or use a search engine as basic theory like this is off topic here. --- Jeff NewmillerThe . . Go Live...