Re: [R] how to combine uncertainty and weighting in spearman correlation?

2020-06-22 Thread Abby Spurdle
Hi, I suspect that there's a formula for this. However, I couldn't find it. So, here's (most of) the code to produce a simulated data set. --- sim.data <- function (xmean, ymean, xsd=NULL, ysd=NULL, w, ..., print=FALSE, plot=FALSE, nsub=1000) { N <- length (xmean) x

Re: [R] how to combine uncertainty and weighting in spearman correlation?

2020-06-22 Thread Frederik Feys
Thanks Abby, some info on the data: score score_SDdeath_count population_size x1 x1_SD y1 corr_weight 4.3 2.3 5800900.000 5.7 6.1 250 11.0

Re: [R] Error message in meta-analysis package Metafor-weights =""

2020-06-22 Thread K Amoatwi
Hi Wolfgang and All, I am still practising my meta-analysis with the "Metafor" package, I tried to run the code for "Forest plot" and got error message as shown below: forest(result.md) > forest(result.md) Error in UseMethod("forest") : no applicable method for 'forest' applied to an object of cl

Re: [R] How to loop over two files ...

2020-06-22 Thread Ana Marija
Thank you so much as.character(r) indeed resolved the issue! On Sat, Jun 20, 2020 at 3:47 AM Ivan Krylov wrote: > > On Fri, 19 Jun 2020 19:36:41 -0500 > Ana Marija wrote: > > > Error in cat(x, file = file, sep = c(rep.int(sep, ncolumns - 1), > > "\n"), : argument 1 (type 'list') cannot be handl

Re: [R] R 4.0.2 is released

2020-06-22 Thread Spencer Graves
Thank you and all the core R team.  Spencer Graves On 2020-06-22 03:21, Peter Dalgaard via R-help wrote: The build system rolled up R-4.0.2.tar.gz (codename "Taking Off Again") this morning. The list below details the changes in this release. You can get the source code from http://cran.r-p

[R] R 4.0.2 is released

2020-06-22 Thread Peter Dalgaard via R-help
The build system rolled up R-4.0.2.tar.gz (codename "Taking Off Again") this morning. The list below details the changes in this release. You can get the source code from http://cran.r-project.org/src/base/R-4/R-4.0.2.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binaries

Re: [R] Load svg, eps or png into graphics device?

2020-06-22 Thread Rainer M Krug
> On 20 Jun 2020, at 01:30, Abby Spurdle wrote: > > If I understand your question correctly, you're already able to read > an EPS file. > So, essentially, you have an answer to your question. Well - there are some dependencies (system as well as package dependencies) which I would like to cu

Re: [R] Load svg, eps or png into graphics device?

2020-06-22 Thread Rainer M Krug
> On 21 Jun 2020, at 22:42, Paul Murrell wrote: > > Hi > > Do you mean you want to reduce *system requirements* ? system requirements and package dependencies. Yes. > I'm not sure you have many options. That was my impression as well, and that is why I asked here - possibly somebody has