[R] Convert Coordinates to Address - Wikimapia

2016-05-17 Thread Miluji Sb
Is it possible to convert latitude and longitude into addresses in R using Wikimapia mapping instead of Google? The reason being that Wikimapia addresses have more details. This is the code I have been using but this obtains the information from Google. library(data.table) library(ggmap)

Re: [R] Placement of words in a word cloud as per its occurance.

2016-05-17 Thread Jim Lemon
Hi Shailaja, If you just want a line of words, it's not too difficult if you have the word frequencies: # take a common sentence sentence<-"The quick brown fox jumps over the lazy dog" words<-unlist(strsplit(sentence," ")) # make up some word frequencies wordfreq<-c(10,1,2,2,3,4,10,6,5)

Re: [R-es] buscar y reemplazar tabs dentro de un archivo

2016-05-17 Thread Javier Marcuzzi
Estimado Eric Las filas que faltan, ¿son filas enteras, donde todo es valor NA o “” en un data.frame? Porque si es así podrías importar todo y luego buscar (filtrar) los que no son NA. Copio y pego un código que utilizo en un trabajo, posiblemente le sea útil.

Re: [R-es] buscar y reemplazar tabs dentro de un archivo

2016-05-17 Thread ja palazon
Usa la función system para desde R usar las herramientas del sistema. On 17/05/16 16:13, eric wrote: Hola Jose, muchas gracias por la sugerencia, no conocia la existencia de "sed" ... yo preguntaba por la posibilidad de hacerlo con R mismo para no tener que escribir algo en otro lenguaje,

[R] gam.check() NA results (k-index, p-value) of a gam logistic regression model

2016-05-17 Thread Fotis Fotiadis
Hello all I am using bam for a mixec-effects logistic regression model: b0<-bam(acc~ 1 + igc + s(ctrial, by=igc) + s(sbj, bs="re") + s(ctrial, sbj, bs="re") , data=data, family=binomial) >summary(b0) Family: binomial Link function: logit Formula: acc ~ 1 + igc + s(ctrial, by = igc) + s(sbj,

[R] projectRaster function no values

2016-05-17 Thread Adrienne Wootten
All, Greetings! Any help with this problem is appreciated! I'm working to get a netcdf file that has a Lambert Conformal Conic projection into geographic, but also a smaller area. Here's the issue I'm having - essentially it looks like projectRaster is working, but the resulting raster has no

[R] Text Mining in R

2016-05-17 Thread Burhan ul haq
Hi, Wishing you all well. I am exploring text mining with R. Here is where I need help: 1. The starting point is a data frame worder1<- c("I am, taking 2","are these the three samples?", "He speaks differently to you, aint it !","This is distilled - my dear, now give me $3","I

Re: [R] R for RedHat Linux upgrade?

2016-05-17 Thread Marc Schwartz
> On May 17, 2016, at 10:53 AM, phi...@free.fr wrote: > > Hello, > > does anyone know when the R 3.3 binary for RH Linux 7 will be available from > the RedHat Repository? > > One of my R scripts, which uses ggplot2, works fine in RStudio 3.24 on > Windows, but doesn't display any graphics in

Re: [R] R for RedHat Linux upgrade?

2016-05-17 Thread Ranjan Maitra
If I am not mistaken, R is not available from the RH repo. It is available from Fedora's EPEL repo for RH, CentOS and the like. I use Fedora and I have noticed that 3.3 is in testing repo there. You may want to install it and provide feedback on bodhi if you want a faster move to EPEL (and

[R] R for RedHat Linux upgrade?

2016-05-17 Thread phiroc
Hello, does anyone know when the R 3.3 binary for RH Linux 7 will be available from the RedHat Repository? One of my R scripts, which uses ggplot2, works fine in RStudio 3.24 on Windows, but doesn't display any graphics in RStudio Server 3.23 on Linux RH 7. I would like to upgrade the

Re: [R] Evaluating statistical models and describing coefficients for non-parametric models

2016-05-17 Thread Jeff Newmiller
If the documentation for those models does not tell you how, then you should ask yourself whether what you are trying to do makes sense statistically. The question of what makes sense statistically is not a good fit for this forum, which is about R. By the way, root mean square errors are easy

Re: [R-es] Función ARIMA

2016-05-17 Thread Elkin Tabares
Muchas gracias por sus respuestas, era lo que estaba buscando. Saludos, Libre de virus. www.avast.com

Re: [R] R 3.3.0 Crashing: Error in readRDS(nsInfoFilePath) : unknown input format

2016-05-17 Thread Amitava Mukherjee
Dear Dr. Jeff, Many thanks for your reply. Here is the output of session info. I uninstalled all versions of R from my PC and stored R files, then reinstall. First time, it works smoothly. But crashing once I shut down and reopen... Details appended below... Thanks and hope you will be able

Re: [R] anonymizing subject identifiers for survival analysis

2016-05-17 Thread Christopher W. Ryan
Excellent, thanks. Much simpler. --Chris Christopher W. Ryan, MD, MS cryanatbinghamtondotedu https://www.linkedin.com/in/ryancw Early success is a terrible teacher. You’re essentially being rewarded for a lack of preparation, so when you find yourself in a situation where you must prepare, you

Re: [R] break string at specified possitions

2016-05-17 Thread Gabor Grothendieck
Here are two ways that do not use any packages: s <- paste(letters, collapse = "") # test input substring(s, first, last) ## [1] "abcde" "fghij" "klmnopqrs" read.fwf(textConnection(s), last - first + 1) ## V1V2V3 ## 1 abcde fghij klmnopqrs On Wed, May 11, 2016 at

Re: [R] break string at specified possitions

2016-05-17 Thread Jan Kacaba
Excellent Hervé, thank you. 2016-05-13 11:48 GMT+02:00 Hervé Pagès : > Hi, > > Here is the Biostrings solution in case you need to chop a long > string into hundreds or thousands of fragments (a situation where > base::substring() is very inefficient): > >

Re: [R-es] buscar y reemplazar tabs dentro de un archivo

2016-05-17 Thread eric
Hola Jose, muchas gracias por la sugerencia, no conocia la existencia de "sed" ... yo preguntaba por la posibilidad de hacerlo con R mismo para no tener que escribir algo en otro lenguaje, porque te refieres a "sed" en linux, no ? y tambien por lo mucho mejor que es un script que hacerlo a

Re: [R] R 3.3.0 Crashing: Error in readRDS(nsInfoFilePath) : unknown input format

2016-05-17 Thread Jeff Newmiller
A) I am not a Dr. I am just someone who has been using R for awhile. Since the install process usually works for me, I might not even be the best person to identify your problem, but I will help if I can. B) sessionInfo is a function. You have to invoke functions by including argument

Re: [R] can I calculate Standard deviation or variance?

2016-05-17 Thread Michael Dewey
Dear Kristi You will doubtless soon receive a reply telling you this is a statistical question and off-topic here but in the meantime, do you have any other information like a value of a test statistic or a p-value? Sometimes they can be used. And please set your mailer to send plain text

[R] Placement of words in a word cloud as per its occurance.

2016-05-17 Thread shaila shailaja
Dear R help subscribers, I am working on a word cloud where in I want the words to appear in the same order as in the sentence/text. I only knowthe random.order -which plots words in random order. If false, they will be plotted in decreasing frequency. Any help is most welcome.

Re: [R] Warning when running R - can't install packages either

2016-05-17 Thread Martin Maechler
> Martin Morgan > on Fri, 13 May 2016 18:57:09 -0400 writes: > Hi Jakub, > > This is really a separate question. It is not really end-user related, > and should be asked on the R-devel mailing list. Nonetheless, some > answers below. > > On

[R] Evaluating statistical models and describing coefficients for non-parametric models

2016-05-17 Thread Muhammad Bilal
Hi All, I'm using number of models such as lm(), tree, randomForest, svm, and nnet for predicting the delays in projects. Also, I computed the sum of squared error for all these models for comparison purposes. However, I want to use other related evaluation criteria such as root mean sum of

Re: [R] can I calculate Standard deviation or variance?

2016-05-17 Thread Jim Lemon
Hi again, Sorry, didn't read that correctly. No. Jim On Tue, May 17, 2016 at 8:48 PM, Jim Lemon wrote: > Hi Kristi, > Multiply the standard error by the square root of the sample size. > > Jim > > > On Tue, May 17, 2016 at 8:09 PM, Kristi Glover >

Re: [R] can I calculate Standard deviation or variance?

2016-05-17 Thread Jim Lemon
Hi Kristi, Multiply the standard error by the square root of the sample size. Jim On Tue, May 17, 2016 at 8:09 PM, Kristi Glover wrote: > Dear R User, > > I have a data with a mean and Standard Error (SE) but no sample size, I am > wondering whether I can compute

[R] can I calculate Standard deviation or variance?

2016-05-17 Thread Kristi Glover
Dear R User, I have a data with a mean and Standard Error (SE) but no sample size, I am wondering whether I can compute the standard deviation (SD) with these information. if possible, how much would be for the given example? > mean<-0.098 > SE<-0.0006 Thanks, [[alternative HTML