Re: [R] R License

2014-05-26 Thread Barry Rowlingson
On Sat, May 24, 2014 at 4:11 PM, Juan Ulises Bohorquez Carvajal juan.bohorq...@ecopetrol.com.co wrote: Thanks, could you send to me an official certificate in pdf with this information? Or a certified email to support the information license? And what would be the authority that supplies such

[R] Metafor: Strange Trim and Fill Outcome?

2014-05-26 Thread Verena Weinbir
Hey guys, I have tested the metafor trim and fill function (y:SD, x:SMD)on my data set and yielded the following result: 1. missing studies on the right: 34 2. open circles on the rights side appear to be the number of additional effects 3. adjusted d would be higher than observed d. Since

Re: [R] Metafor: How to integrate effectsizes?

2014-05-26 Thread Michael Dewey
At 13:10 22/05/2014, Verena Weinbir wrote: Hello, thank you very much for your replies. I am almost done :-) but theres one study left, where I only have sample size (not group size), mean values and standarddeviations. Is there a way to compute cohens d from this data? You could assume

Re: [R] Metafor: Strange Trim and Fill Outcome?

2014-05-26 Thread Michael Dewey
At 09:34 26/05/2014, Verena Weinbir wrote: Hey guys, I have tested the metafor trim and fill function (y:SD, x:SMD)on my data set and yielded the following result: 1. missing studies on the right: 34 That seems a lot of missing studies unless you have a very large set of primary studies.

Re: [R] Metafor: Strange Trim and Fill Outcome?

2014-05-26 Thread Verena Weinbir
thanks for your reply, Michael! ad primary studies: yup, I have a large set of studies: At the moment I consider 126 data sets in my analysis. ad interpretation: thats an interesting information. But usually there should be found an effect. ad bit :-): I am irritiated, because in the plots I

Re: [R] Metafor: Strange Trim and Fill Outcome?

2014-05-26 Thread Viechtbauer Wolfgang (STAT)
From help(forest.rma): pch -- plotting symbol to use for the observed effect sizes or outcomes. By default, a solid circle is used. Can also be a vector of values. See points for other options. pch.fill -- plotting symbol to use for the effect sizes or outcomes filled in by the trim and fill

Re: [R] Cannot Launch R Help Files under Window 8.1

2014-05-26 Thread Gabor Grothendieck
On Sun, May 25, 2014 at 7:18 PM, Jack Pincus jack.pin...@sbcglobal.net wrote: I've been using R for about 9 months and just installed R 3.1.0 on a new computer running Windows 8.1. IE is the default browser. When I type help(round) or ?round the address:

Re: [R] Metafor: Strange Trim and Fill Outcome?

2014-05-26 Thread Verena Weinbir
thanks for your reply, Wolfgang! Regarding the dots/circle -problem I am relieved now :-) Regarding the Trim and Fill outcome I don't really think that it's the wrong side, I just dont know how to interpret the result. regtest () reveals a negative z, which is not significant. ranktest ()

[R] Rscript and roxygen error

2014-05-26 Thread Witold E Wolski
I do want to run a R script (runrox.sh) containing two commands: library(roxygen2) roxygenize(imsbInfer) When pasting these 2 lines into R they run with no error. But when calling: Rscript runrox.sh the script produces this error: roxygen fails with Error: Failure in roxygen block beginning

Re: [R] seeking latex peace

2014-05-26 Thread Ranjan Maitra
Hi, As I could not find any way to install pdflatex (it didn't appear on a yum search), I tried a method that claimed to install pdflatex via a package Trying yum provides */pdflatex will yield the package name: texlive-latex-bin-bin. Though, I have to say I don't quite see how you

Re: [R] Rscript and roxygen error

2014-05-26 Thread Witold E Wolski
the same script which is not working with Rscript does work with R CMD BATCH. I thought the main difference between Rscript and R CMD BATCH is where the ouptut gets redirected and that Rscript should preferred over the old R CMD BATCH. On 26 May 2014 15:12, Witold E Wolski

[R] How to build and check an package on a system without tex latex?

2014-05-26 Thread Witold E Wolski
This is what I tried: R CMD check $(PKGNAME)_$(PKGVERS).tar.gz --no-manual --no-rebuild-vignettes R CMD build --no-manual --no-rebuild-vignettes $(PKGSRC) But still somehow the R CMD build attempts to build the vignettes (OK with me), but also run texi2dvi on them producing the error message

[R] [R-pkgs] Package 'dnet' for omics data integrative analysis

2014-05-26 Thread Hai Fang
Dear R package developers and users, I am pleased to announce the official release of our newly developed package 'dnet', which intends to analyse omics data in terms of network, evolution and ontology. It has features: 1. Identification of gene-active networks from high-throughput omics data;

[R] 0^0 computation in R : Why it is defined 1 in R ?

2014-05-26 Thread ritwik_r
Dear R helpers, today I found something interesting in R. 0^0 gives value 1 in R. But it is undefined in mathematics. During debugging a R code, I found it and it effects my program severely. So my question is why it is defined 1 in R? Is there any particular reason or its a bug in the R

Re: [R] seeking latex peace

2014-05-26 Thread Dr Eberhard Lisse
It's not a TeX issue veven, it's a Fedore issue :-)-O pdflatex is standard in all (most) TeX distributions. TeXLive is probably the standard TeX distribution for Linux, it has a Windoze version and a MacTeX version (or rather two, a complete and a basic). I have used both on Linux and the Mac

Re: [R] Unable to load a file: no such file or directory

2014-05-26 Thread Antonio Carazo
Thank you Ray and Jim. It works with file.choose(). I post following the output. Antonio Carazo Regional Sales Manager FOSS IBERIA. Ph. D. student in Social Sciences. list.files() [1] DATOS1.txt open.exe R.dll R.exe Rblas.dll

Re: [R] snpStats reference allele used in genetic associations?

2014-05-26 Thread francesca casalino
But then how do you know which allele is the reference and which the risk allele (between A/T/C/G)? 2014-05-26 1:41 GMT+01:00 David Duffy david.du...@qimr.edu.au: francesca casalino francy.casal...@gmail.com asked: Does anyone know how to find the reference allele used for genetic

Re: [R] R License

2014-05-26 Thread Juan Ulises Bohorquez Carvajal
Thanks Mensaje original De: Barry Rowlingson Fecha:26/05/2014 03:11 AM (GMT-05:00) A: Juan Ulises Bohorquez Carvajal CC: John Kane ,r-help@R-project.org Asunto: Re: [R] R License On Sat, May 24, 2014 at 4:11 PM, Juan Ulises Bohorquez Carvajal juan.bohorq...@ecopetrol.com.co

[R] Awaiting feedback/moderation (Re: Non-convergence in boot.stepAIC function with a logit model)

2014-05-26 Thread Justin Michell
Hi I posted a question to this list, and received an email indicating that it is awaiting moderation. However I have not received any feedback yet. If the question is not appropriate, I’d like to know where or how I should post differently, if possible. Thanks and Regards Justin Michell

Re: [R] Cannot Launch R Help Files under Window 8.1

2014-05-26 Thread Jack H. Pincus
Thanks for your suggestions. I did some further digging and found the problem was more subtle. I use Dashlane, a password management program, which requires IE to run in protected mode under Win 8. Disabling protected mode solved the problem with R help. Jack On May 26, 2014, at 12:02 AM,

Re: [R] snpStats reference allele used in genetic associations?

2014-05-26 Thread francesca casalino
I am having this problem because I need to run a meta-analysis and to align all the variants between the different studies included in the meta-analysis I need to know the effect allele used to get the beta (so that I can flip the beta if the effect allele is flipped compared to all other

Re: [R] 0^0 computation in R : Why it is defined 1 in R ?

2014-05-26 Thread Prof Brian Ripley
On 26/05/2014 13:16, ritwi...@isical.ac.in wrote: Dear R helpers, today I found something interesting in R. 0^0 gives value 1 in R. But it is undefined in mathematics. During debugging a R code, I found it and it effects my program severely. So my question is why it is defined 1 in R? Is there

[R] Scoring a test set after clustering a training set

2014-05-26 Thread Barry King
I have divided my data into a training set and a test set. I have then applied a logistic transformation to the variables in the training set and have used pam to assign the observations to one of four clusters. My question is How do I score the test observations now that I have the training set

Re: [R] VBA

2014-05-26 Thread Jeff Newmiller
Wrong forum. Please contact Statconn for support. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...

[R] Metafor: forest plot for subset

2014-05-26 Thread Verena Weinbir
Hey, I want to build a forest plot which states author and year for a subset of studies. But if I use this argument: resultREML - rma(yi=yi, vi=vi, method = REML, data = subset(empa, task==x)) resultREML forest(resultREML, , slab=paste(empa$author, empa$year,sep = ,)) I

Re: [R] Assigning value Range for values

2014-05-26 Thread arun
Hi, May be you can try ?cut dat - read.table(text=INCOME  20100  26800  55050  82000,sep=,header=TRUE) dat - transform(dat, INCOME_RANGE=as.character(cut(INCOME,breaks=seq(0,1e5, by=25e3),labels=c(below 25000, 25000-4, 5-74999,75000-9 dat #  INCOME INCOME_RANGE #1  20100 

Re: [R] 0^0 computation in R : Why it is defined 1 in R ?

2014-05-26 Thread Jeff Newmiller
You might find searching the web on this topic educational. Consider [1] and [2], for example. I doubt this will be changing, so you should do your exponentiation in a function that handles your special case. By the way, as nice as RStudio might be, it is not R... it USES R. Examples like

Re: [R] Function Align produces an error, Package wavelets

2014-05-26 Thread arun
Hi, I couldn't reproduce the error. str(wt.aligned) Formal class 'dwt' [package wavelets] with 11 slots   ..@ W :List of 3   .. ..$ : num [1:32, 1] -0.252 0.19 0.315 0.451 0.169 ...   .. ..$ : num [1:16, 1] 0.5324 -0.0644 0.2494 0.6509 0.1955 ...   .. ..$ : num [1:8, 1] -0.558 0.734 -0.122

Re: [R] Awaiting feedback/moderation (Re: Non-convergence in boot.stepAIC function with a logit model)

2014-05-26 Thread Jeff Newmiller
It was passed through (see the archive). I suspect the problem is that your question seems to be about statistics rather than about R. For future reference, I also note that it was posted in HTML format rather than plain text, and small, reproducible examples are always expected because it is

Re: [R] Metafor: forest plot for subset

2014-05-26 Thread Viechtbauer Wolfgang (STAT)
Pass 'slab' to the rma() function instead of the forest() function. Also, 'slab' is evaluated in the data frame passed via the 'data' argument, so no need to use empa$... And there is a 'subset' argument for rma(). Might as well use it. This should do it: resultREML - rma(yi=yi, vi=vi,

Re: [R] Cannot Launch R Help Files under Window 8.1

2014-05-26 Thread Gabor Grothendieck
On Mon, May 26, 2014 at 8:53 AM, Jack H. Pincus jack.pin...@sbcglobal.net wrote: Thanks for your suggestions. I did some further digging and found the problem was more subtle. I use Dashlane, a password management program, which requires IE to run in protected mode under Win 8. Disabling

[R] Size of win.metafile

2014-05-26 Thread Jinsong Zhao
Hi there, I hope to use the emf plot produced by R in Word. However, I have problems with setting the plot size. Here is a mini-example code: win.metafile(abcd.emf, height =4, width=4) plot(1:10) dev.off() I hope to get a emf plot with size 4x4in and pointsize 12pt. However, I got a plot

Re: [R] Function Align produces an error, Package wavelets

2014-05-26 Thread barnaby
Thank you I spend more time looking into it since I placed the question and it seems that there is a conflict between two or more packages when open jointly with the wavelet package for this specific example. I am trying to identify the packages. Many thanks again  Barnaby 

Re: [R] Rscript and roxygen error

2014-05-26 Thread Yihui Xie
library(methods) Regards, Yihui -- Yihui Xie xieyi...@gmail.com Web: http://yihui.name On Mon, May 26, 2014 at 9:48 AM, Witold E Wolski wewol...@gmail.com wrote: the same script which is not working with Rscript does work with R CMD BATCH. I thought the main difference between Rscript and R

[R] Mixed modelling and GLMM course in Banff, Canada

2014-05-26 Thread Highland Statistics Ltd
We would like to announce the following statistics course: Topic: Introduction to MCMC, Linear mixed effects models and GLMM with R Where:Parks Canada, Banff, Canada When: 22-26 September, 2014 Flyer: http://www.highstat.com/Courses/Flyer2014_09Banff.pdf Website:

Re: [R] Cannot Launch R Help Files under Window 8.1

2014-05-26 Thread Jack H. Pincus
Thanks Gabor. I'll try that. Jack Sent from my iPad On May 26, 2014, at 2:40 PM, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Mon, May 26, 2014 at 8:53 AM, Jack H. Pincus jack.pin...@sbcglobal.net wrote: Thanks for your suggestions. I did some further digging and found the

Re: [R] Generating random variables with given pairwise correlations

2014-05-26 Thread Greg Snow
For numeric/continuous/normal values you can use the mvrnorm function in the MASS package (set the empirical argument to TRUE to force the exact correlation). Some would argue that you should not compute correlations with binary variables, but you could generate 4 normals, then take the last 2

Re: [R] Second axis on bottom of graph

2014-05-26 Thread David Winsemius
On May 24, 2014, at 7:47 PM, Hurr wrote: Thanks again Jim. I stuck xaxs=i in the existing par() command and it worked as I wanted it. I haven't looked at the documentation yet, but that's next. Generally a better approach would be to study the documentation first. Hurr View

Re: [R] 0^0 computation in R : Why it is defined 1 in R ?

2014-05-26 Thread David Winsemius
On May 26, 2014, at 9:42 AM, Prof Brian Ripley wrote: On 26/05/2014 13:16, ritwi...@isical.ac.in wrote: Dear R helpers, today I found something interesting in R. 0^0 gives value 1 in R. But it is undefined in mathematics. During debugging a R code, I found it and it effects my program

Re: [R] quartz() and windows()

2014-05-26 Thread Megersa
Which version of R is used for quartz function please? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] Problem Creating Partial Dependence Plot

2014-05-26 Thread Jane Shevtsov
I am trying to use the plotmo package to generate a partial dependence plot for a CART model created with rpart. When running plotmo, I get Error: get.plotmo.y returned the wrong length (got 204938 expected 205000). The rpart predict function does indeed return 204938 results, but plotmo is

Re: [R] quartz() and windows()

2014-05-26 Thread David Winsemius
Nothing to do with R versions. 'quartz()' is a Mac plotting device. ?Devices -- David Sent from my iPhone On May 26, 2014, at 2:58 PM, Megersa magetade2...@gmail.com wrote: Which version of R is used for quartz function please? [[alternative HTML version deleted]]

Re: [R] seeking latex peace

2014-05-26 Thread Jim Lemon
On Mon, 26 May 2014 09:43:45 AM Ranjan Maitra wrote: ... Though, I have to say I don't quite see how you managed to install R without the above package (it is a required dependency on Fedora). ... Hope the above helps! Best wishes, Ranjan Hi Ranjan, As I always install R from source, I