[R] An error using frbs package

2015-11-27 Thread Baki UNAL via R-help
Hello I'm trying to run code below with frbs package. But I get an error saying: "Error in MF[k, temp[j + 2]] : subscript out of bounds" I couldn't spot the source of the error. What may be the problem? ##- varinp.mf <- matrix(c(4, 0, 0, 10, 50, 4, 10,

Re: [R] rjags cannot find JAGS-4.0.0

2015-11-27 Thread David Winsemius
> On Nov 26, 2015, at 4:59 PM, Margaret Donald > wrote: > > 1. Despite being in R with administrative rights the library "rjags" loads > in a temporary location. > >> install.packages("rjags", dependencies=TRUE, > + lib= "C:/Users/Margaret

Re: [R-es] CURSOS R

2015-11-27 Thread Lucas Fernandez Seivane
En castellano, uno de los factótums de la lista, Emilio Torres Manzanera, y el resto de la unidad de Estadística de la Universidad de Oviedo dan unos cursos estupendos, a los que tuve la suerte de asistir. Aquí tenéis material: http://uce.uniovi.es/indexr.html ᐧ 2015-11-27 14:29 GMT+01:00 Pedro

Re: [R] Memory problem when changing a function

2015-11-27 Thread Marwah Sabry Siam
i didn't write them because I thought it would be long. I am using HPbayes package. I changed mp8.mle function. Two functions depend on this one; loop.optim and prior.likewts, so I changed them and rename them. The memory problem arises when applying the new loop.optim function named loop.optim_m.

Re: [R] metafor - Meta-Analysis of rare events / beta-binomial regression

2015-11-27 Thread Michael Dewey
Dear Markus This is not a direct answer to your question, I will leave that to Wolfgang but two thoughts: 1 - if all the studies have very sparse data @article{bradburn07, author = {Bradburn, M J and Deeks, J J and Berlin, J A and Localio, A R}, title = {Much ado about nothing: a

Re: [R-es] CURSOS R

2015-11-27 Thread JC Arronte
Marcos, ech�le un vistazo a �sta p�gina, a lo mejor encuentras algo que te interese https://www.udemy.com/courses/ Un saludo >1. CURSOS R (Marcos Bermejo) > Message: 1 > Date: Fri, 27 Nov 2015 07:40:18 + > From: Marcos Bermejo > To:

Re: [R] detect computer drives

2015-11-27 Thread Adrian Dușa
On Fri, Nov 27, 2015 at 4:03 PM, Dirk Eddelbuettel wrote: > > On 27 November 2015 at 15:43, Adrian Duşa wrote: > | Is there a method to detect the computer's drives? > | That would include USB sticks, when they are recognised by the operating > | system. > > That is very

Re: [R] Graphing the Area of Definite Integral

2015-11-27 Thread peter dalgaard
Something like this? f <- function(x) x^3-2*x curve(f(x), from=0, to=4) abline(h=0) n <- 16 dx <- 4/n right <- (1:n)*dx left <- right - dx mid <- right - dx/2 fm <- f(mid) points(mid, fm) rect(left,0,right,fm) sum(fm*dx) 1/4 * 4^4 - 4^2 -pd On 27 Nov 2015, at 13:52 , Steven Stoline

Re: [R] Handling huge data of 17GB in R

2015-11-27 Thread Ista Zahn
The easy way is to use a machine with say 32 Gb of ram. You can rent them by the hour from AWS or google cloud at very reasonable prices. Best, Ista On Nov 27, 2015 8:39 AM, "Ajay Ramaseshan" wrote: > Hello, > > > I am trying the DBSCAN clustering algorithm on a

Re: [R] detect computer drives

2015-11-27 Thread Dirk Eddelbuettel
On 27 November 2015 at 15:43, Adrian Dușa wrote: | Is there a method to detect the computer's drives? | That would include USB sticks, when they are recognised by the operating | system. That is very obviously OS-dependent amd would need to be wrapped conditional on the OS. In R you can test

Re: [R-es] CURSOS R

2015-11-27 Thread Pedro Concejero Cerezo
Además de los mencionados, está swirl, originalmente una librería R http://swirlstats.com/ que te enseña R interactivamente y que dispone de muchos cursos proporcionados por la comunidad en https://github.com/swirldev/swirl_courses#swirl-courses Mucho me temo que será clamorosa la carencia de

[R] Graphing the Area of Definite Integral

2015-11-27 Thread Steven Stoline
Dear All: I am trying to explain to my students how to calculate the definite integral using the Riemann sum. Can someone help me to graph the area under the curve of the function, showing the curve as well as the rectangles between 0 and 4.. *f(x) = x^3 - 2*x * over the interval [0 , 4]

[R] From KDE-surfaces to 3d-printing format?

2015-11-27 Thread Atte Tenkanen
Hi, Is it somehow possible to produce 3D-printing data from the kernel density map produced by the "DrawDensity3D"-function of "VecStatGraphs3D"-package? I'm not an expert of KDE-technics, just can use that function to produce surfaces... Best , Atte Tenkanen

Re: [R] metafor - Meta-Analysis of rare events / beta-binomial regression

2015-11-27 Thread Markus Kösters
Dear Michael, Thank you very much for your input, that is very much appreciated. I have not considered that method, because it's rather outlawed in general. But it is also included in Kuss and if I understood correctly, the collapsing method (and the Cochrane method) both performed not too bad

[R] detect computer drives

2015-11-27 Thread Adrian Dușa
Dear All, Is there a method to detect the computer's drives? That would include USB sticks, when they are recognised by the operating system. I believe to have read somewhere it's possible, but I am unable to find that message. Thank you for any hint, Adrian -- Adrian Dusa University of

Re: [R] Graphing the Area of Definite Integral

2015-11-27 Thread Ben Tupper
Hi Steve, Give RSeek.org a try ... http://rseek.org/?q=show+area+under+curve There a loads of examples and blogs on this topic at RSeek.org. Under the 'Support' tab there is an exchange between two USM folk on this very topic. Cheers, Ben On Nov 27, 2015, at 7:52 AM, Steven Stoline

Re: [R] Handling huge data of 17GB in R

2015-11-27 Thread Duncan Murdoch
On 27/11/2015 6:03 AM, Ajay Ramaseshan wrote: Hello, I am trying the DBSCAN clustering algorithm on a huge data matrix (26000 x 26000). I dont have the datapoints, just the distance matrix. It comes to 17 GB in the hard disk, and needs to be loaded into R to use the DBSCAN implementation

Re: [R] Graphing the Area of Definite Integral

2015-11-27 Thread Steven Stoline
many thanks steve On Fri, Nov 27, 2015 at 9:20 AM, peter dalgaard wrote: > Something like this? > > f <- function(x) x^3-2*x > curve(f(x), from=0, to=4) > abline(h=0) > n <- 16 > dx <- 4/n > right <- (1:n)*dx > left <- right - dx > mid <- right - dx/2 > fm <- f(mid) >

Re: [R] rjags cannot find JAGS-4.0.0

2015-11-27 Thread David Winsemius
> On Nov 27, 2015, at 11:27 AM, David Winsemius wrote: > >> >> On Nov 26, 2015, at 4:59 PM, Margaret Donald >> wrote: >> >> 1. Despite being in R with administrative rights the library "rjags" loads >> in a temporary location. >> >>>

Re: [R] From KDE-surfaces to 3d-printing format?

2015-11-27 Thread Atte Tenkanen
Dear Duncan, Thank you! I think, I got conversion working by putting just writeSTL() after the contour3d-function (inside DrawDensity3D()). contour3d() writeSTL("Data3D.stl") At least, the stl-file seems to open in Pleasant3D and ply-file in MeshLab. :-) Best, Atte 27.11.2015, 16.04,

Re: [R] metafor - Meta-Analysis of rare events / beta-binomial regression

2015-11-27 Thread Viechtbauer Wolfgang (STAT)
I would say the issue of how to deal with 'double-zero' studies is far from settled. For example, under the (non-central) hypergeometric model, studies with no events have a flat likelihood, so they are automatically excluded. That may go against our intuition (for various reasons, some of them

Re: [R-es] CURSOS R

2015-11-27 Thread Xavier de Pedro
Hola: Y aquí hay gente que pone de vez en cuando información de cursos presenciales: http://r-es.org/blog4-Cursos Si los quieres a distancia, hay un montón de MOOCs como dice Lucas. Saludos Xavier Re: https://es.wikipedia.org/wiki/Mooc El 27/11/15 a les 09:43, Lucas Fernandez Seivane ha

[R-es] Nueva publicación en blog en r-es.org

2015-11-27 Thread web
Nueva publicación en blog: Cursos, "Cursos a distancia de R (MOOCs)", por Xavier de Pedro en 27/11/15 10:02h Ver el blog en: http://r-es.org/tiki-view_blog_post.php?blogId=4=109 Si no desea recibir estas notificaciones siga este enlace: http://r-es.org/tiki-user_watches.php?id=49

Re: [R-es] CURSOS R

2015-11-27 Thread Ruben Tobalina Ramirez
Buenos dias, En datacamp , hay cursos de iniciación gratuitos siempre disponibles; en Udemy hay gratuitos y de pago también disponibles en cualquier momento y en noviembre han comenzado cursos en coursera , edx

Re: [R-es] CURSOS R

2015-11-27 Thread Lucas Fernandez Seivane
Hay varios en coursera/edx,algunos ya empezados otros para empezar. Si no los encuentras, por favor pide más info ᐧ 2015-11-27 8:40 GMT+01:00 Marcos Bermejo : > Hola a tod@s: > > > ¿Sabéis si en estos momentos hay o va a haber algún curso online de R > gratuito?. O en