[R] R installation

2014-12-02 Thread VG
Hi everyone, I was having trouble with R i installed some time ago on my local ubuntu machine. So i removed R completely from my system in order to re install it. I used these commands to install R sudo apt-get install r-base r-base-dev Then on the terminal I typed which R: it returns /usr/bin/R

[R] Installation of R version 3.1.0

2014-08-14 Thread VG
an HTML browser interface to help. Type 'q()' to quit R. How can I use R 3.1.0 version. I also want to use that version on R studio. I guess it is just the path issue? Any help Regards VG [[alternative HTML version deleted]] __ R-hel

[R] How to draw a histogram for some intervals in R

2014-04-21 Thread VG
Hello Everyone, I have a text file which has data in this format. genestartendfreq Slc19a1811441 Slc19a11922556 Slc19a12733367 Slc19a13634264 Slc19a14655283 Slc19a15406035 Slc19a18138765 Slc19a1912

[R] Simper analysis with Morisita-Horn

2012-11-29 Thread VG
Dear ecology fellows, I tried to implement Morisita-Horn distance (instead of Bray that is in the current version) in the code for the Simper analysis in vegan. I would be very grateful if someone can check if the code is right. function (comm, group, ...) { if (any(rowSums(comm, na.rm = T

[R] varpart with repeated measures

2011-08-10 Thread VG
Dear all, I would like to do variance partitioning of community dissimilarity matrix (Y) using 4 explanatory tables: X1=environmental characteristics X2=species traits related to dispersal X3=species characteristics (abundances and richnness) X4= xy spatial coordinates The problem is that I have

[R] PERMANOVA+ and adonis in vegan package

2011-07-09 Thread VG
Hi, I was wondering if someone can tell me what is the difference between "strata" argument (function "adonis" in "vegan" package) and using random effects in PERMANOVA+ add-on package to PRIMER6 when doing permutational MANOVA-s? Is the way permutations are done the same? Thank you very much in