Re: [R] Online course with on-demand video and live meetings: Introduction to Regression Models with Spatial Correlation using R-INLA

2020-04-15 Thread Abby Spurdle
My guess is that this mailing list is not designed for advertising, but... Why is the source file for the package 320 MB? https://inla.r-inla-download.org/R/stable/src/contrib/ And are there any other reasons why this package is not on CRAN (or bioconductor)? On Thu, Apr 16, 2020 at 1:28 AM

Re: [R] Error: all the ROC metric values are missing:

2020-04-15 Thread Neha gupta
d=readARFF("CM1.arff") dput( head( d, 50 ) ) structure(list(LOC_BLANK = c(6, 15, 27, 1, 7, 51, 3, 13, 22, 16, 4, 23, 23, 40, 23, 8, 2, 19, 0, 7, 6, 134, 9, 164, 27, 4, 5, 7, 16, 15, 19, 19, 15, 13, 14, 12, 23, 155, 42, 30, 9, 26, 40, 7, 7, 93, 9, 3, 12, 31), BRANCH_COUNT = c(9, 7, 9, 1, 3, 25, 5,

Re: [R] Error: all the ROC metric values are missing:

2020-04-15 Thread Jeff Newmiller
Someday, Neha, you will learn to post a reproducible example using plain text. I hope. Try using the reprex package. On April 15, 2020 2:32:03 PM PDT, Neha gupta wrote: >What is the problem is the code.. > >d=readARFF("CM1.arff") > >index <- createDataPartition(d$Defective, p = .70,list =

[R] Error: all the ROC metric values are missing:

2020-04-15 Thread Neha gupta
What is the problem is the code.. d=readARFF("CM1.arff") index <- createDataPartition(d$Defective, p = .70,list = FALSE) tr <- d[index, ] ts <- d[-index, ] index_2 <- createFolds(tr$Defective, returnTrain = TRUE, list = TRUE) ctrl <- trainControl(method = "boot", number=100, index = index_2,

Re: [R-es] desagregar distribución de frecuencias

2020-04-15 Thread Raúl Vaquerizo
Hola, yo uso la función expand de dplyr. Hace poco puse un ejemplo de uso en el blog https://analisisydecision.es/los-pilares-de-mi-simulacion-de-la-extension-del-covid19/ muestra <- muestra %>% group_by(seccion,rango_edad) %>% summarise(habitantes=sum(habitantes)) tenía datos por sección

Re: [R] R create .docx file ?

2020-04-15 Thread Jeff Newmiller
Indeed, replacing ReporteRs functionality was the topic of this thread. I know... it can be a bit much to read an entire thread, but reading is needed if you want to avoid non-sequitur, especially when the thread was not on topic for this mailing list to begin with. On April 15, 2020 10:33:05

Re: [R] R create .docx file ?

2020-04-15 Thread Paul Bivand
However, the Reporters github page clearly says that the package has been removed from CRAN and it has been replaced by the officer package. Note that ReporteRs has been removed from CRAN the 16th of July 2018 and is not maintained anymore. please migrate to officer.

Re: [R] Correct way to cite R and RStudio in a manuscipt

2020-04-15 Thread Rui Barradas
Hello, Run to cite R: citation() to cite RStudio RStudio.Version() Hope this helps, Rui Barradas Às 15:16 de 15/04/20, Sorkin, John escreveu: What is the proper way to cite R and Rstudio is a manuscript? John John David Sorkin M.D., Ph.D. Professor of Medicine Chief, Biostatistics and

Re: [R-es] desagregar distribución de frecuencias

2020-04-15 Thread Juan Carlos Lopez Mesa
datos <- data.frame(talla = c(8, 8.5, 9, 10, 10.5, 11, 11.5), n = c(1, 3, 5, 7, 4, 2, 1)) mapply(FUN = rep, datos$talla, datos$n) unlist(mapply(FUN = rep, datos$talla, datos$n)) El mar., 14 abr. 2020 a las 14:40, ANA VENTERO MARTIN () escribió: > Hola a tod@s, > Trabajo

Re: [R] Correct way to cite R and RStudio in a manuscipt

2020-04-15 Thread Fox, John
Dear John, For R, see citation() . Best, John - John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada Web: http::/socserv.mcmaster.ca/jfox > On Apr 15, 2020, at 10:16 AM, Sorkin, John wrote: > > What is the proper way to cite R and

[R] Fwd: Correct way to cite R and RStudio in a manuscipt

2020-04-15 Thread Bert Gunter
Sorry, neglected to respond to the list. 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 ) -- Forwarded message - From: Bert Gunter Date: Wed, Apr

[R] Correct way to cite R and RStudio in a manuscipt

2020-04-15 Thread Sorkin, John
What is the proper way to cite R and Rstudio is a manuscript? John John David Sorkin M.D., Ph.D. Professor of Medicine Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine Baltimore VA Medical Center 10 North Greene

Re: [R] Span for loess regression

2020-04-15 Thread varin sacha via R-help
Dear Ivan, Many thanks I got it now. Best, Le mercredi 15 avril 2020 à 09:49:26 UTC+2, Ivan Krylov a écrit : On Tue, 14 Apr 2020 21:00:34 + (UTC) varin sacha via R-help wrote: > Here below a reproducible example. I don't get the result. Thanks for providing a concise piece

[R] Online course with on-demand video and live meetings: Introduction to Regression Models with Spatial Correlation using R-INLA

2020-04-15 Thread Highland Statistics Ltd
We would like to announce the following online statistics course: Online course with on-demand video and live meetings: 'Introduction to Regression Models with Spatial Correlation using R-INLA' Remark: The course fee includes a 1-hour face-to-face video chat with one or both instructors.

Re: [R] A simple string alienation problem

2020-04-15 Thread Richard O'Keefe
I'm very confused by the phrase "string alienation". You mention two problems: (1) remove " from a string sub('"', '', vector.of.strings) will do that. See ?grep for details. (2) split a string at occurrences of / strsplit(vector.of.strings, "/") will do that.

Re: [R] Span for loess regression

2020-04-15 Thread Ivan Krylov
On Tue, 14 Apr 2020 21:00:34 + (UTC) varin sacha via R-help wrote: > Here below a reproducible example. I don't get the result. Thanks for providing a concise piece of code. The code doesn't return any visible results because the bestLoess function created by it is never called. To get the

Re: [R] A simple string alienation problem

2020-04-15 Thread PIKAL Petr
Hi attachement did not went through, only limited attachement types are allowed - see Posting guide. I am not sure if R is the best possibility to remove some characters. If " is at the end of all your strings > dput(test) structure(list(V1 = c("adfvadfg\"", "sdfasd\"", "vafdv\"",