Re: [R-es] Identificar porción de una imagen.-

2016-09-01 Thread Freddy Omar López Quintero
Gracias Carlos y Javier. No. No es reconocimiento de imágenes. Por ahora me he contentado con la (muy rudimentaria) solución: image(array(findInterval(as.numeric(lennon), c(0, 150, 200), left.open = F, all.inside = T), dim = c(256, 256)), col=grey(seq(0,1,,256)) ) donde el c(0, 150, 200) lo

Re: [R] plot.drm in "drc" package

2016-09-01 Thread li li
Thanks Petr for the reply. When I run "plot(mod, type="all",log="x")", the tickmarks of the x axix include (0.02, 0.1, 1,10). But the log(Dose) should be less than 4. Anyway, I think there is something missing in the plot.drm function. Hanna 2016-08-31 7:41 GMT-04:00 PIKAL Petr

Re: [R] plot with different symbols and colors according to the factor levels

2016-09-01 Thread li li
Thank you all. Hanna 2016-08-30 16:55 GMT-04:00 Paulo Moniz : > Obter o Outlook para Android > > > > On Tue, Aug 30, 2016 at 2:41 PM -0300, "Clint Bowman" > wrote: > > Hanna, > > lili<-read.table("lili.txt",header=T) # don't

Re: [R] Same code on Mac?

2016-09-01 Thread Jim Lemon
Sometimes the problem stems from chronic exposure to user interfaces. Yesterday I prepared some material for a Mac user's presentation and said, "This text file tells you the names of the files you need for the presentation" the response was, "Can I click on it?" I deleted all the files in the

Re: [R] Need advice on linear programming in R

2016-09-01 Thread Michael Hannon
Thanks, Florian. That looks very useful. -- Mike On Thu, Sep 1, 2016 at 2:33 AM, Florian Schwendinger wrote: > You could try ROI > > you write the model once and can use several solver, therefore > you could

Re: [R] Adding multiple polygons to a Leaflet map

2016-09-01 Thread Adams, Jean
It is hard to troubleshoot without the data. Can you provide the data, for example using the dput() function, or can you replicate the issue with some simplified version of code that we can run? Jean On Tue, Aug 30, 2016 at 11:26 AM, Kevin Haynes wrote: > Hi everyone -

Re: [R] Improving function that estimates regressions for all variables specified

2016-09-01 Thread Adams, Jean
You may be able find someone else's function that already does you want. For example the dredge() function of the MuMIn package. http://rpackages.ianhowson.com/cran/MuMIn/man/MuMIn-package.html Jean On Fri, Aug 26, 2016 at 1:11 PM, Jorge Cimentada wrote: > Hi, I'd like

Re: [R-es] Identificar porción de una imagen.-

2016-09-01 Thread javier.ruben.marcuzzi
Estimado Freddy Un artículo reciente que se me paso comentar en el correo anterior https://www.r-bloggers.com/image-recognition-tutorial-in-r-using-deep-convolutional-neural-networks-mxnet-package/ Javier Rubén Marcuzzi De: Freddy Omar López Quintero [[alternative HTML version

Re: [R-es] Identificar porción de una imagen.-

2016-09-01 Thread javier.ruben.marcuzzi
Estimado Freddy Omar López Quintero http://cran.at.r-project.org/web/packages/raster/vignettes/Raster.pdf puede ser de ayuda, aunque no lo utilicé nunca. O pretendes realizar reconocimiento de imágenes, como son los ejemplos de detectar letras, las caras, etc., para eso deberías entrenar o

Re: [R-es] Identificar porción de una imagen.-

2016-09-01 Thread Carlos Ortega
Hola, Prueba con esto: https://cloud.r-project.org/web/packages/magick/index.html Tendrás que instalarte "ImageMagick"... Aquí puedes ver alguna de sus posibilidades... https://github.com/ropensci/magick#readme Saludos, Carlos Ortega www.qualityexcellence.es El 1 de septiembre de 2016, 21:09,

[R] Extract baseline from prop.odds function in timereg package

2016-09-01 Thread Lauren N. Spirko
Hi everyone! I am using the prop.odds() function in the timereg package. I am trying to extract the estimated baseline value, G(t), described in the package documentation. Does anyone know how this baseline value can be extracted from the output? Thanks in advance for your help! Lauren

[R-es] Identificar porción de una imagen.-

2016-09-01 Thread Freddy Omar López Quintero
¡Hola muchachos! Tengo un problema que no he podido resolver. Les cuento: tengo una imagen y quisiera conocer cuáles son los valores de los pixeles en un área más o menos delimitada. Yo creo que mi problema principal es que no sé cómo podría hacer la selección de esta área más o menos delimitada

[R] robumeta package - error

2016-09-01 Thread Kristina Loderer
Dear all, I am trying to fit a simple (intercept-only) meta-analytic model using the robumeta package using the following code: anx_cont_mean<-robu(formula = es_fisher ~ 1, var.eff.size = variance_fisher, studynum = study_ID, modelweights = "CORR", rho = 0.8, small=TRUE, data = anxiety_control)

Re: [R] Same code on Mac?

2016-09-01 Thread Sarah Goslee
R already contains platform-independent code to open a graphics device: dev.new() The device thus created is specified in options(), but by default is appropriate for the current platform. It's good practice to use this function instead of calling quartz() directly so that your code can be run on

Re: [R] Same code on Mac?

2016-09-01 Thread Franklin Bretschneider
Dear Tom Mosca, Re: > Using a PC I have written the R code for my elementary statistics students. > One of the students has a Mac. Should the same lines of code work on a Mac? > > > > Where can the student find support for R on her Mac? I don't know anything > about them, and have never

Re: [R] Same code on Mac?

2016-09-01 Thread Robert Baer
On 9/1/2016 9:44 AM, Sarah Goslee wrote: On Wed, Aug 31, 2016 at 4:25 PM, Tom Mosca wrote: Using a PC I have written the R code for my elementary statistics students. One of the students has a Mac. Should the same lines of code work on a Mac? Where can the student find

[R] Off topic, but hopefully not totally irrelevant: on MS Excel and genomics

2016-09-01 Thread Bert Gunter
http://www.sciencemag.org/news/sifter/one-five-genetics-papers-contains-errors-thanks-microsoft-excel Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

Re: [R] R-Studio+Commander

2016-09-01 Thread Marc Schwartz
> On Aug 31, 2016, at 5:25 PM, Lisa Ducati HH > wrote: > >> Hello, >> >> I would like to Know if i can install r on my iPad Air 2? Is this possible? >> >> Regards Lisa-Marie Kindler Not directly and if you search the archives (use rseek.org and search

[R] R-Studio+Commander

2016-09-01 Thread Lisa Ducati HH
> Hello, > > I would like to Know if i can install r on my iPad Air 2? Is this possible? > > Regards Lisa-Marie Kindler Von meinem iPhone gesendet [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

Re: [R] Same code on Mac?

2016-09-01 Thread Sarah Goslee
On Wed, Aug 31, 2016 at 4:25 PM, Tom Mosca wrote: > Using a PC I have written the R code for my elementary statistics students. > One of the students has a Mac. Should the same lines of code work on a Mac? > > > > Where can the student find support for R on her Mac? I don't

Re: [R] GLM output problem

2016-09-01 Thread Anderson Eduardo
Embarrassing but that's true. I wrote 'binamial' instead of 'binomial'. I tried now with the correct spelling and everything is ok, in fact. > summary(GLM) Call: glm(formula = model, family = binomial(link = logit)) Coefficients: Estimate Std. Error z value Pr(>|z|) (Intercept)

[R] problem writing .bil files in netcdf

2016-09-01 Thread Abdoulaye SARR
Dear List, I have daily rainfall data in .bil format and can get info of the file using rgdal: > library(rgdal) > GDALinfo("/1981/v2p19810101.bil") rows1600 columns 1500 bands 1 lower left origin.x-20 lower left origin.y-40 res.x 0.05 res.y

Re: [R] Importint stata file and using value labels

2016-09-01 Thread Juan Ceccarelli Arias
I solved this problem using the nonint.factors=F,generate.factors=F) when i imported the dta files. Thanks to all. My issue can be declared as solved. On Sat, Aug 27, 2016 at 12:55 PM, Michael Friendly wrote: > On 8/26/2016 11:05 AM, Juan Ceccarelli Arias wrote: > >> Yep. Im

[R] Same code on Mac?

2016-09-01 Thread Tom Mosca
Using a PC I have written the R code for my elementary statistics students. One of the students has a Mac. Should the same lines of code work on a Mac? Where can the student find support for R on her Mac? I don't know anything about them, and have never used one. Thank you.

Re: [R] Loop over rda list files and using the attach function

2016-09-01 Thread Juan Ceccarelli Arias
Hi I want to comment something. When i added the detach(get(yyz)) the RAM consumption was considerable reduced. So, i want to declare this issue as solved and thank you all for your assistance. Good luck to all. On Tue, Aug 30, 2016 at 6:24 PM, Juan Ceccarelli Arias wrote: >

Re: [R] How can I add text in plot and x axis of figures created in ggplot2?

2016-09-01 Thread Ulrik Stervbo
Hi Marna, when you use facet there is just one X-axis title and one Y-axis title. As an alternative you can create several plots and put them into one using the package gridExtra. As for adding text you can use geom_text and extract the x, y coordinates from your data. When I add text, I usually

Re: [R] How can I add text in plot and x axis of figures created in ggplot2?

2016-09-01 Thread John Kane
Hi Marna, Thanks for providing the data and code. However there is a problem with the code and I wondered if something got garbled in transmission. Below is the code that was in my mailbox == ylab *(*"My

Re: [R-es] Microsoft R Open 3.3.1 problema

2016-09-01 Thread javier.ruben.marcuzzi
Estimado Miguel Angel Rodriguez Muinos Hace mucho que no uso la versión de R-project, es un error extraño, de tres códigos R dos andan y el más simple da error, lástima que a esos datos no puedo enviarlos para reproducir el inconveniente, incluso dos códigos son a partir de los mismos datos,

Re: [R-es] Microsoft R Open 3.3.1 problema

2016-09-01 Thread javier.ruben.marcuzzi
Estimado Marcelino de la Cruz Rot Creo que redacte de forma errada, es una columna con muchas filas, a esta le agrego muchas filas que vienen de otro data.frame, y varias veces así Yo uso mucho rbind y cbind, pegando una cantidad de filas o columnas, me es una forma práctica. Javier Rubén

Re: [R] Looping through different groups of variables in models

2016-09-01 Thread Kai Mx
Thanks so much everybody, especially to Dennis. I didn't really occur to me that I could put the models into a list. I have used dplyr for simple data transformations and will definitely look into it. On Thu, Sep 1, 2016 at 8:10 AM, Dennis Murphy wrote: > Hi: > > See inline.

[R] Error while running Vegas function in cpvSNP package

2016-09-01 Thread MLSC
Hello Sir, When I try to run vegas() function, I come across below errors, can somebody help me in fixing this issue? > test<-vegas(snpsGSC, gr,ldMat,1000,correction=TRUE,seed=NULL, verbose=FALSE) Warning: coercing ldMatrix from data.frame to matrix. Error in validObject(.Object) : invalid

Re: [R] Need advice on linear programming in R

2016-09-01 Thread Michael Hannon
Thanks, Peter. Not useless at all, but I'm somewhat overwhelmed by the choices. I'll have a closer look at some of them. -- Mike On Thu, Sep 1, 2016 at 1:24 AM, peter dalgaard wrote: > >> On 01 Sep 2016, at 05:34 , Michael Hannon wrote: >> >>

Re: [R] Need advice on linear programming in R

2016-09-01 Thread peter dalgaard
> On 01 Sep 2016, at 05:34 , Michael Hannon wrote: > > Greetings. A subset of a problem that the group I work with turns out to be > an optimization problem, in the sense of linear programming. > > We've looked at several approaches to this but haven't found one

Re: [R] GLM output problem

2016-09-01 Thread peter dalgaard
>> And use the parameters returned by GLM to contruct an equation for the >> regression model: >> >> model.eq = -0.446078 + 0.267673*x - 0.014577*I(x^2) > > ## Not what I got with your data. I got: > > Coefficients: > (Intercept)x I(x^2) > -18.5750 5.0403 -0.2845

Re: [R-es] Microsoft R Open 3.3.1 problema

2016-09-01 Thread Marcelino de la Cruz Rot
Si no he entendido mal, para obtener un resultado 1 x n deberías usar c() en vez de rbind(). Si haces un rbind con las primera columna de n data.frames, cada una con m filas, obtendrás una matriz n x m. El 01/09/2016 a las 6:43, javier.ruben.marcu...@gmail.com escribió: Estimados