Re: [R-sig-eco] Help with function to webscrap

2012-06-27 Thread Eduard Szöcs
Hai Augusto, regarding question #3: You could use the red list API with RCurl and XML packages. Here is an example: > require(RCurl) > require(XML) > get_IUCN_status <- function(x) { + spec <- tolower(x) + spec <- gsub(" ", "-", spec) + url <- paste("http://api.iucnredlist.org/go/";, spec,

[R-sig-eco] (no subject)

2012-06-27 Thread Nils Gülzow
Dear List, I have a problem with the ezANOVA package using for rm ANOVA or a problem with my statistic design of the experiment. (or both ;-)) My file looks like this (is also attached): sample daystreatments repl. dispersal gbiov/rich/evenness 1-367,14,21 synchron

Re: [R-sig-eco] (no subject)

2012-06-27 Thread Sarah Goslee
Hi Nils, Please use dput() to provide your data, and include the actual code and error messages. I assume you actually mean the ez package? It's important to provide a full explanation of the problem so that someone can offer good advice. Sarah On Wed, Jun 27, 2012 at 9:56 AM, "Nils Gülzow" wro

Re: [R-sig-eco] (no subject)

2012-06-27 Thread Sarah Goslee
Hi Nils, On Wed, Jun 27, 2012 at 10:16 AM, Nils Gülzow wrote: > hey Sarah, > > thanks for your good advice, I will add the information (actual code and > error message) but I didn´t get what you mean with > dput(), so how can I make my data available for the list? > Sorry I am Nooby here ;-) Ple

Re: [R-sig-eco] Help with function to webscrap

2012-06-27 Thread Alan Haynes
Hi Augusto, For your second question regarding the readLines warnings, theres an argument to readLines called warn, if you set that to FALSE it should do the trick. No idea about the internet connection thing though...some sort of if statement triggered by the error I would imagine. Could it be t

[R-sig-eco] (no subject)

2012-06-27 Thread Wagner Tassinari
http://sitedown.fr/wp-content/uploads/fgallery/otwla.html [[alternative HTML version deleted]] ___ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology

[R-sig-eco] spatial correlation in mixed-effect models

2012-06-27 Thread aletsia83
Hello. Recently, I started to develop regression models using spatial data. In particular, I've been developing mixed-effect models. My data requires to take into consideration spatial autocorrelation, so I decided to use the corStruct function in the nlme library. Once I built a variogram plot t

[R-sig-eco] problem placing points on an effects plot for gls model

2012-06-27 Thread Basil Iannone
Dear R users, I am analyzing data using a gls model from the nlme package The model is: m2<-gls(C~LDH + SI3, method = "ML", weights = vpDist) ## I will later fit this model using REML C = total soil carbon, LDH = log of a distance that I am interested in, and SI3 = is a index of invasion severi