Re: [R] metafor package

2014-02-12 Thread Michael Dewey
At 22:11 11/02/2014, Nathan Pace wrote: Hi, I have a random effects meta analysis of a proportion (logit transformation) using rma.glmm. I have created a forest plot of the proportion (inverse logic transformation) using forest.rma. I have added the credibility interval. The forest plot i

Re: [R] metafor package

2014-02-12 Thread S Ellison
Like most plotting routines in R, forest has a ... argument that passes names arguments through to other routines. In forest's case, ... passes (at least) to abline, axis and segments, so all the lines and axes in the plot are affected by any argument that is valid for those. In your case, speci

Re: [R] r hepl

2014-02-12 Thread PIKAL Petr
Hi I do not understand what do you want? You have continuous variable, from which you made 2 interval variables. If you want that in those variables intervals to be named in particular way, make them factor and name them as you wish. factor(bins_age, labels=letters[1:7]) [1] e e c f c b g a f

Re: [R] metafor package

2014-02-12 Thread Viechtbauer Wolfgang (STAT)
Good advice already from Michael and S Ellison. I must apologize for the 'hack-job of a function' called forest() in metafor. I realized a while ago that people would prefer more fine-grained control over the various elements of the plot (this has come up a few times before). I think Paul Murre

[R] creating a figure with different shades in R?

2014-02-12 Thread Wei Ding
Hello, everyone, I have following csv-file(simplified) as instance: 0.29,2,50 0.32,3,10 0.28,4,71 0.27,1,62 0.53,1,33 0.83,5,100 with the first column for x-axis (proportion shared), the second for y-axis (number of shared segments), the shades for 'number of pairs'. I wonder how to realiz

Re: [R] metafor package

2014-02-12 Thread S Ellison
> -Original Message- > I must apologize for the 'hack-job of a function' called forest() in metafor. Well, certainly no apology needed there! > I realized a while ago that people would prefer more fine-grained control over > the various elements of the plot (this has come up a few times

[R] metafor package

2014-02-12 Thread William Shadish
If your command looks something like this: > forest(x,xlim=c(-6,7),cex=.8,order="prec", xlab="Effect Size", alim=c(-.5,4),mlab="RE Average for All Studies") In alim=c(-.5,4), increase the numbers. Make them higher than your highest confidence interval upper bound and lower than your lowest

Re: [R] value on logarithmic axis

2014-02-12 Thread David Carlson
If you want specific values (e.g. the values of the x points), just use those as the at= and lab= arguments to axis(): plot(x, y, pch=16, type="b", log="x", xaxt="n", ylab=expression(bold("Y axis")), xlab=expression(bold("X axis"))) axis(side=1, at=x, lab=x, cex.axis=.85) David C From: Lu

[R] Actual code for LDA

2014-02-12 Thread ben1983
Hi All, I've been trying to write my own code for LDA (linear discrim) so I can modify it to be weighted LDA since some of my groups are outliers. However, the code I write for standard LDA gives me slightly different results to those from R (slightly different LDAs.and not just scala

[R] plot with 3 axes and different shades

2014-02-12 Thread Wei Ding
Hello, everyone, I have following csv-file(simplified) as instance: Greetings, I have following csv-file: 0.29,2,50 0.32,3,10 0.28,4,71 0.27,1,62 0.53,1,33 0.83,5,100 with the first column for x-axis (proportion shared), the second for y-axis (number of shared segments), the shades for 'number

Re: [R] SDM using BIOMOD2 error message

2014-02-12 Thread Matthew Bayly
> > I think it is a problem with your directory setting & changing your > directory. When you make your enviro stack you set your directory to: setwd("V:/BIOCLIM") Then when you import your species coordinates and presence/absence status you change your directory to: setwd("C:/Users/Linds

Re: [R] Biomod model access

2014-02-12 Thread Matthew Bayly
I have been struggling with this same problem. I always have to re-run. PLEASE HELP!! I have however figured out the whole data-format issue & am now able to save grid files for use in other GIS programs after they are re-exported. On Thursday, August 15, 2013 1:32:31 AM UTC-7, Jenny Williams w

[R] mean help?

2014-02-12 Thread frankreynolds
Hey everyone, I need help getting the mean, standard deviation, median, etc. I'm just not sure how to write those codes in r and if someone could also help me out with the table command that would be great too. same issue just not really sure how to write it out. thanks for your time everyone!

[R] simple linear regression

2014-02-12 Thread frankreynolds
okay so how do you run a simple linear regression, obtain the summary of that, and then put it in an object? -- View this message in context: http://r.789695.n4.nabble.com/simple-linear-regression-tp4685213.html Sent from the R help mailing list archive at Nabble.com. _

Re: [R] simple linear regression

2014-02-12 Thread Sarah Goslee
On Wed, Feb 12, 2014 at 2:22 PM, frankreynolds wrote: > okay so how do you run a simple linear regression, obtain the summary of > that, and then put it in an object? You start by reading the Introduction to R that came with your installation, and then using some common sense and basic statistica

Re: [R] plot with 3 axes and different shades

2014-02-12 Thread Jim Lemon
On 02/13/2014 02:49 AM, Wei Ding wrote: Hello, everyone, I have following csv-file(simplified) as instance: Greetings, I have following csv-file: 0.29,2,50 0.32,3,10 0.28,4,71 0.27,1,62 0.53,1,33 0.83,5,100 with the first column for x-axis (proportion shared), the second for y-axis (number of

Re: [R] mean help?

2014-02-12 Thread Don McKenzie
Frank — you need to read the R tutorial that came with your installation. If you don’t have the answers to your VERY BASIC questions after that, let us know. On Feb 12, 2014, at 10:20 AM, frankreynolds wrote: > Hey everyone, I need help getting the mean, standard deviation, median, etc. > I'm

Re: [R] mean help?

2014-02-12 Thread Rui Barradas
Hello, At an R prompt type ?mean ?sd ?median And read the file R-intro.pdf that comes with your installation of R. Hope this helps, Rui Barradas Em 12-02-2014 18:20, frankreynolds escreveu: Hey everyone, I need help getting the mean, standard deviation, median, etc. I'm just not sure how to

Re: [R] Biomod model access

2014-02-12 Thread Sarah Goslee
Accessing BIOMOD2 model output is possible, but a bit convoluted. Here's a whole chunk of code that creates a reproducible example; the most important part is at the end. I hope this is enough to let you get going. Sarah ### First use a slightly modified version of the example from the help file

Re: [R] Urgent Inquiry

2014-02-12 Thread Jeff Newmiller
You might consider reading http://cran.r-project.org/doc/contrib/Hiebeler-matlabR.pdf. I strongly recommend reading the Introduction to R document that comes with the R software. As to where to ask questions, this mailing list is fine as long as you follow the Posting Guide recommendations (see

Re: [R] Urgent Inquiry

2014-02-12 Thread Kevin Wright
You may find http://stackoverflow.com/ to be a useful website to ask R questions. Kevin On Wed, Feb 12, 2014 at 3:09 PM, Woo Young Kang wrote: > > > Hi, my name is Woo Young Kang and I am a current user of R-programming. > > I am looking for an R-programming online questioning community and w

Re: [R] Regression of complex-valued functions

2014-02-12 Thread Andrea Graziani
Dear Rolf, Thank you for your suggestion. Based on your remarks I solved my problem using nlm(). Actually there are two quite straightforward ways to split the complex-valued problem into two “linked” real-valued problems. ### 1. Real part and Imaginary part # Experimental data E1_data <- Re(E

Re: [R] Regression of complex-valued functions

2014-02-12 Thread Andrea Graziani
Hi Frede, Thank you for your accurate answer! If I understand well, your way to use nls() solves the problem using too many physical parameters. I solved the problem following the other way that you and Rolf Turner suggested (i.e. splitting the complex-valued problem into two real-valued proble

Re: [R] Regression of complex-valued functions

2014-02-12 Thread Rolf Turner
On 13/02/14 12:03, Andrea Graziani wrote: Using the same starting values, the two approaches bring to slightly different solutions: ### 1. Real part and Imaginary part fit$estimate [1] -3.8519181 -2.7342861 -1.4823740 1.7173982 4.4529298 1.4383334 0.1564904 0.4856774 2.2789567 3.

[R] John M. Chambers Statistical Software Award 2014

2014-02-12 Thread Munjal, Aarti
The Statistical Computing Section of the American Statistical Association announces the competition for the John M. Chambers Statistical Software Award. In 1998 the Association for Computing Machinery presented its Software System Award to John Chambers for the design and development of S. Dr. C

[R] Java 7.51 broke rJava?

2014-02-12 Thread Yury V Bukhman
Hi, after I updated Java to 7.51 on my Windows system, rJava can no longer load: > library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and

[R] Help on best way to calculate and plot overall mean from dataset with two treatment groups

2014-02-12 Thread Rewarp
I am working on a dataset which has multiple species over several plots, categorised into two treatment groups. For example group_xy group_op plot species value x o 1 A 3 x o 1 A 5 x o 1 B 4 x o 2 A 3 x o 2 A 6 x o 2 A 3 y o 1 A 3 y o 1 A 5 y o 1 B 4 y o 2 A 3 y o 2 A 6 y o 2 A 3 x p 1 A 3 x p 1

Re: [R] Java 7.51 broke rJava?

2014-02-12 Thread Jeff Newmiller
Have you investigated the suggestion in the error message yet? "Architecture" means 32bit vs 64bit... --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live

[R] impossible to install package

2014-02-12 Thread Eve Dupierrix
Hi, I want to install "languageR" but is doesn't work. I tried it by two ways: (1) by writing the following command but there is a warning message in response: > install.packages ("LanguageR") Warning message: package ‘LanguageR’ is not available (for R version 2.15.2) This problem appeared som

[R] Inquiry

2014-02-12 Thread Kei_Takeuchi
Dear R users, Hello, this is Kei Takeuchi in Japan. I have started to use R(windows, version3.0.2) and have a problem. I think it is not difficlut but since I am beginner of R, I have no way to solve it. Where can I post my question? Thank you in advance. Kei Takeuchi __

Re: [R] impossible to install package

2014-02-12 Thread Jorge I Velez
Dear Eve, See http://cran.r-project.org/web/packages/languageR/index.html The name of the package is "languageR", not "LanguageR". Best, Jorge.- On Thu, Feb 13, 2014 at 3:39 PM, Eve Dupierrix wrote: > Hi, > I want to install "languageR" but is doesn't work. > > I tried it by two ways: > (1) b

Re: [R] Inquiry

2014-02-12 Thread Pascal Oettli
Hi Kei, Welcome. I think you can first read an Introduction to R (http://cran.r-project.org/doc/manuals/R-intro.pdf) Then read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code, as requested when you ask a question to