[R] gamm4 and lme4 error

2014-07-13 Thread Nicholas Lange
Hello, I'm running R.3.1.1 on Mac OS X 10.6.8 with gamm4 version 0.2-2 and lme4 version 1.1-7. I get the following error when trying to fit the simplest model I can think of: fit = gamm4( y ~ s(x)) Warning message: In deviance.merMod(ret$mer) : deviance() is deprecated for REML fits; use

Re: [R] canonical correlation

2014-07-13 Thread Raghuraman Ramachandran
Try package CCA. On Sat, Jul 12, 2014 at 11:13 PM, Monaly Mistry monaly.mis...@gmail.com wrote: Hi, I was wondering if it's possible in R to do a canonical correlation with only one dependent variable and several independent variables. I've tried using cc(X,Y) but I got an error message.

Re: [R] R GUI for undergraduate lab class?

2014-07-13 Thread Christoph Scherber
The best GUI I know for such purposes is John Fox 's Rcmdr package. It was built for undergraduate courses. Cheers, Christoph  Von Samsung Mobile gesendet Ursprüngliche Nachricht Von: Louise Stevenson louise.steven...@lifesci.ucsb.edu Datum: 12.07.2014 22:47 (GMT+01:00)

Re: [R] Decision Tree

2014-07-13 Thread Graham Williams
It is box.col= in prp(). fancyRpartPlot() in Rattle currently uses a fixed colour palette (something I should change). You could change it in a local copy of the fancyRpartPlot() code (see the line defining pals in the function): fancyRpartPlot I also give an example around page 33 of the

Re: [R] Basket Analysis in R: extract rules

2014-07-13 Thread Graham Williams
Try: inspect(sort(crs$apriori, by=support)) Graham Williams http://togaware.com On 27 June 2014 16:46, Abhinaba Roy abhinabaro...@gmail.com wrote: Dear R-helpers, I have run a basket analysis in Rattle. I've used 'arules' package. crs$apriori - apriori(crs$transactions, parameter =

[R] non causality test and wavelet decompostion

2014-07-13 Thread Upananda Pani
Dear All, Is there any package to perform linear and nonlinear causality test with frequency bands. In the non linear causality the model can take any of the specification which includes Semi-additive, P-general Taylor based, ANN-based. This is also done in Wavelet decomposition. Please suggest

Re: [R] canonical correlation

2014-07-13 Thread John Fox
Dear Raghuraman and Monaly, Why would one want to do canonical correlation with a single Y variable? The canonical correlation is just the R^2 from the LS regression of Y on the Xs. Best, John John Fox, Professor McMaster University Hamilton,

Re: [R] canonical correlation

2014-07-13 Thread John Fox
A small correction: I should have said R, not R^2. John On Sun, 13 Jul 2014 10:14:23 -0400 John Fox j...@mcmaster.ca wrote: Dear Raghuraman and Monaly, Why would one want to do canonical correlation with a single Y variable? The canonical correlation is just the R^2 from the LS regression

Re: [R] canonical correlation

2014-07-13 Thread Monaly Mistry
Dear John, In my final model I have 10 independent variables that account for the variation in my dependent variable, and I needed to visually demonstrate this relationship. So I did a canonical correlation to get a linear combination of independent variables that that predicts the variation in

Re: [R] canonical correlation

2014-07-13 Thread John Fox
Dear Monaly, What you described in simply the multiple LS regression of Y on the Xs, which finds the linear combination of the Xs most correlated with Y. Canonical correlation and regression are appropriate when there is more than one Y. Best, John On Sun, 13 Jul 2014 15:39:15 +0100 Monaly

[R] Norton Virus program indicates that R3.1.1 is not reliable

2014-07-13 Thread jim holtman
I was downloading the latest version of R from the CMU mirror and got the following message (also tried the MTU mirror and got the same). Has anyone else seen this? Filename: r-3.1.1-win.exe Threat name: WS.Reputation.1 Full Path: c:\users\owner\downloads\r-3.1.1-win.exe

[R] 3.1.1-win.exe download

2014-07-13 Thread jim holtman
I am also getting a message on another computer that has Symantec Endpoint Protection that the 3.1.1-win.exe has been removed because of WS.Reputation.1; here is what their website says about the error = Updated:February 15, 2012 3:15:47 PMType:OtherRisk Impact:HighSystems

Re: [R] Norton Virus program indicates that R3.1.1 is not reliable

2014-07-13 Thread Jeff Newmiller
Have seen it. Had to override Norton and tell it to ignore the threat. Been awhile, don't off the top of my head remember how I did that. --- Jeff NewmillerThe . . Go Live...

Re: [R] Norton Virus program indicates that R3.1.1 is not reliable

2014-07-13 Thread jim holtman
Glad to see that I am not the only one seeing the error. I was getting it on my other (company) computer that has Symantec and it will not allow me to override and do the install. Guess I will check again in a couple of days and see it it clears up. Will also check to see if I can contact

Re: [R] Norton Virus program indicates that R3.1.1 is not reliable

2014-07-13 Thread Marc Schwartz
Jim, You can file a Type I error on the file here: https://submit.symantec.com/false_positive/ rather than waiting. I had seen similar reports, not on R, but elsewhere with this particular Symantec community based detection. I am not a user, but since it appears to be a community based

Re: [R] canonical correlation

2014-07-13 Thread Monaly Mistry
Dear John, Thank you very much for clearing this up. Best, Monaly. On Sun, Jul 13, 2014 at 3:45 PM, John Fox j...@mcmaster.ca wrote: Dear Monaly, What you described in simply the multiple LS regression of Y on the Xs, which finds the linear combination of the Xs most correlated with Y.

Re: [R] canonical correlation

2014-07-13 Thread Raghuraman Ramachandran
Thx John. My bad. I was just pointing out that canonical corrs can be done through the CCA package. Cheers Raghu On Sun, Jul 13, 2014 at 3:39 PM, Monaly Mistry monaly.mis...@gmail.com wrote: Dear John, In my final model I have 10 independent variables that account for the variation in my

Re: [R] Zeta-squared transformation use R?

2014-07-13 Thread jlh.membership
Hi Miles, If I read the paper correctly, zeta-squared is simply: (1+z^2) for z=0, and 1/(1+z^2) for z=0, where z is the z-score (Eqn. 11 in the paper). Z-scores can be calculated in R using the scale(...) function. So this should produce a zeta-squared transformation. zeta.sq - function(data)

[R] Scatterplot3D in r

2014-07-13 Thread Babak Bastan
I would like to visualize my data in a scatterplot3d On my X and Y axis, I would like the same labels. Something like this: x-c(A, B, c, D) y-c(A, B, c, D) on the Z axis, I would like to show the comparison between labels in X and Y A with A A with B A with C A with D B with B B with C