Re: [R] readline issue with 3.3.1

2016-07-24 Thread Martin Maechler
> Ralf Goertz > on Fri, 22 Jul 2016 10:15:36 +0200 writes: > Am Thu, 21 Jul 2016 18:07:43 +0200 schrieb Martin Maechler > : >> Ralf Goertz on Wed, 20 Jul 2016 >> 16:37:53 +0200 writes: >>> I installed readline version 6.3 and the issue is >>> gone. So proba

Re: [R] adding new values to dataframe based on existing values in two columns

2016-07-24 Thread Alexander.Herr
Here is another solution using interaction, aggregate and merge: interaction(xyz[,1],xyz[,2])->nf #create a unique x.y grouping cbind(xyz[,1:2],nf) aggregate(xyz[,3],list(nf),min)->nmins names(nmins)<-c('nf','mins.1') xyz$nf<-nf merge(xyz,nmins, by='nf', all=TRUE)->nd head(nd)

Re: [R] Create a colour scale for different data sets

2016-07-24 Thread BARLAS Marios 247554
Dear Jim, Thanks for the advice! Turns out there was nothing wrong with my graphing code. I was just stupid when modifying the wafer map reconstruction code. If in the previous code you change this line : dies.in.wafer.r[inn] <- meas.data to dies.in.wafer.r

[R] Create a colour scale for different data sets

2016-07-24 Thread BARLAS Marios 247554
Hello Every1, I'm working on analysing some data and I want to make some cartography maps. Since I treat data in batch, I need to have a common reference colour scale for all the datasets I need to plot. This is important otherwise it becomes hard to quickly assert visually changes from one e

[R] Quade test

2016-07-24 Thread Fernando Sánchez Lasheras
Hello to all the list members. I would like to perform a Quade test with more than one covariate. I know the command quade.test and I have seen the example below: ## Conover (1999, p. 375f): ## Numbers of five brands of a new hand lotion sold in seven stores ## during one week. y <- matrix(c( 5,

[R] glmmPQL crashes on inclusion of corSpatial object

2016-07-24 Thread Patrick Johann Schratz
Link to data: (1170 obs, 9 variables, .Rd file) [plain link in case sth goes wrong with the hyperlink: https://www.dropbox.com/s/yi3vf0bmqvydr8h/data.Rd?dl=0] Simply read it in using `readRDS(file)`. I´m trying to setup a GLMM using the

Re: [R] Changing legend to fill colour in ggplot

2016-07-24 Thread paola_fort...@yahoo.it
Inviato da Yahoo Mail su Android [[alternative HTML version deleted]] __ 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/po

Re: [R] country fixed effects model with binary dependent variable

2016-07-24 Thread Cristina Cametti
Dear all, thank you very much for all your answers. Probably, I don’t know how to write in this mailing list, so I apologize if I was not clear. My questions were all code related: I am not an R user, this means that I started using R just few months ago. So, I am seeking advise about the codin

Re: [R] Changing legend to fill colour in ggplot

2016-07-24 Thread paola_fort...@yahoo.it
Inviato da Yahoo Mail su Android [[alternative HTML version deleted]] __ 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/po

Re: [R] Firth logistic regression and odds ratio

2016-07-24 Thread David Winsemius
> On Jul 24, 2016, at 8:20 AM, Qinghua He via R-help > wrote: > > Dear all, > I have the following table for a breast cancer study and I was trying to > calculate the odds ratio of different subtypes based on AR (AR+ as the base > case). > AR-AR+Luminal A1 19Lumi

[R] Firth logistic regression and odds ratio

2016-07-24 Thread Qinghua He via R-help
Dear all, I have the following table for a breast cancer study and I was trying to calculate the odds ratio of different subtypes based on AR (AR+ as the base case).                   AR-    AR+Luminal A    1     19Luminal B    1     15Her2            0     4Basal-like    20    1Normal Like  2  

[R] Create a common wafer map colour scale for different data sets

2016-07-24 Thread BARLAS Marios 247554
Hello Every1, I'm working on analysing some data and I want to make some cartography maps. Since I treat data in batch, I need to have a common reference colour scale for all the datasets I need to plot. This is important otherwise it becomes hard to quickly assert visually changes from one e

Re: [R] Build command in library(devtools)

2016-07-24 Thread Rainer Hurling
I think, in your case the problem might be the version of Rtools. If you want to use R > 3.0.x, you also have to use newer versions of Rtools [1]. HTH, Rainer Hurling [1] https://cran.r-project.org/bin/windows/Rtools/ Am 21.07.16 um 02:24 schrieb Steven Yen: > Here is what I found. I had to go