[R-es] Hola, tengo la curiosidad de saber si existe un canal de IRC (o algo parecido) acerca de R ? a veces quisiera hablar con alguien en lugar de escribir un correo, pero no he encontrado algun cana

2018-09-21 Thread Eric
___ R-help-es mailing list R-help-es@r-project.org https://stat.ethz.ch/mailman/listinfo/r-help-es

Re: [R] Use ggplot to create a state map with counties and county names as labels

2018-09-21 Thread John
On Fri, 21 Sep 2018 18:17:10 + Thomas MacFarland wrote: > Everyone: > > Using multiple resources I've been able to create a state (Kentucky) > map that shows all 120 counties, with two selected counties > highlighted in red. > > Fine, except - I also want to show the names of the two

[R] Use ggplot to create a state map with counties and county names as labels

2018-09-21 Thread Thomas MacFarland
Everyone: Using multiple resources I've been able to create a state (Kentucky) map that shows all 120 counties, with two selected counties highlighted in red. Fine, except - I also want to show the names of the two selected counties, likely as labels. Any ideas on how to achieve this aim

Re: [R] tibble question with a mean

2018-09-21 Thread Erin Hodgess
Nice! I didn’t realize you could do all that! Thanks! On Fri, Sep 21, 2018 at 10:32 AM William Dunlap wrote: > Since you are using tibbles you may want to go whole-hog and use the dplyr > package as well. > > > xt <- > tibble(x=LETTERS[1:4],y=1:4,z=log2(1:4),a=c("dog","cat","tree","ferret"))

Re: [R] tibble question with a mean

2018-09-21 Thread William Dunlap via R-help
Since you are using tibbles you may want to go whole-hog and use the dplyr package as well. > xt <- tibble(x=LETTERS[1:4],y=1:4,z=log2(1:4),a=c("dog","cat","tree","ferret")) > xt %>% summarize(yMean=mean(y), zMean=mean(z), aLast=last(a)) # A tibble: 1 x 3 yMean zMean aLast 1 2.5 1.15

Re: [R-es] Descarga html

2018-09-21 Thread Sergio Castro
Muchas gracias por la ayuda a todos. Voy a seguir con RSelenium que de momento me está dando buen resultado, aunque miraré la librería rvest. Un saludo. El vie., 21 sept. 2018 a las 10:10, Carlos Ortega () escribió: > Hola, > > Como todavía no se ha comentado la alternativa y es perfectamente

Re: [R] Fitting Production Curves

2018-09-21 Thread Bert Gunter
This list doesn't do statistics -- it does R programming, though statistics does occur incidentally sometimes in that context. Not in your post though. You should post on a statistics site like stats.stackexchange.com for statistics questions. Cheers, Bert Bert Gunter "The trouble with having

Re: [R] How to remove backslash

2018-09-21 Thread Jeff Newmiller
Even more convincing than nchar is cat vs. print: s <- "nchar(str) >#[1] 15 > > >It is there just to escape the double quotes. >if you want a backslash you would need to escape it, like in str1. > > >str1 = 'nchar(str1) >#[1] 16 > > >Now yes, you can remove it. > >str2 <- gsub("\\", "", str1,

Re: [R] Smallest Space Analysis (SSA) in R

2018-09-21 Thread Michael Friendly
Smallest space analysis (SSA) is just the name given to software developed by Guttman & Lingoes around the time the various versions of multidimensional scaling were being developed. Call it Israeli MDS or Falafel MDS if you prefer. The reason you encountered it in your course is presumably

Re: [R] How to remove backslash

2018-09-21 Thread Rui Barradas
Hello, The backslash is not a character of the string str. test it with nchar: str = ' Hi, I have below string where I am trying to remove Backslash from. I tried with gsub() function, however failed to remove that: str = ' Error in gsub("\\", "", str) : invalid regular expression '\',

[R] How to remove backslash

2018-09-21 Thread Christofer Bogaso
Hi, I have below string where I am trying to remove Backslash from. I tried with gsub() function, however failed to remove that: > str = ' gsub("\\", "", str) Error in gsub("\\", "", str) : invalid regular expression '\', reason 'Trailing backslash' Any pointer to the right approach? Thanks

Re: [R] Link from vignette to package documentation

2018-09-21 Thread Duncan Murdoch
On 21/09/2018 4:54 AM, Sigbert Klinke wrote: Hi, is it possible to make a link from a vignette to a (Rd) help files in my own or other packages? Only with some significant compromises. R normally acts as the web server for Rd files, and the URL is not really predictable. So you would need

[R] Link from vignette to package documentation

2018-09-21 Thread Sigbert Klinke
Hi, is it possible to make a link from a vignette to a (Rd) help files in my own or other packages? Best Sigbert -- https://hu.berlin/sk https://hu.berlin/mmstat3 __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see

Re: [R-es] Descarga html

2018-09-21 Thread Carlos Ortega
Hola, Como todavía no se ha comentado la alternativa y es perfectamente válida, la referencio. Puedes automatizar todo este acceso a la Web, auténticándote, navegando en las diferentes páginas y extrayendo la información que desees desde R. Hay un par de opciones bastante estables para hacerlo

Re: [R-es] Descarga html

2018-09-21 Thread Jaume Tormo
Hola Sergio, Yo descargué datos de AEMET con wget en la consola de linux, hice un .sh y funcionó bastante bien: ! /bin/bash http GET ' https://opendata.aemet.es/opendata/api/valores/climatologicos/inventarioestaciones/todasestaciones/?api_key=MiAPIKey \ cache-control:no-cache \ En este

Re: [R] Smallest Space Analysis (SSA) in R

2018-09-21 Thread Andrew
Hi Martin I was aware of the 'old' MDS package, thanks. Hi Eric I've now read the paper you referenced, thanks. Still didn't see anything about SSA however, so will keep looking. However, if anyone on this list comes across something specific to SSA, could you kindly drop me a line to let

Re: [R] Smallest Space Analysis (SSA) in R

2018-09-21 Thread Martin Maechler
> Eric Berger > on Thu, 20 Sep 2018 23:28:27 +0300 writes: > Hi Andrew, > I don't have any experience in this area but I was intrigued by your > question. Here is what I learned. > 1, A bit of poking around turned up a thread on stats.stackexchange that >