Questions tagged [rda]

Rda is a short name for RData.

116 questions
1
vote
1 answer

What the difference between saving a dataset as a CSV file compared to saving as a RDA file?

Just out of curiosity, I was wondering if there were any advantages (e.g., space efficiency etc) to saving a dataset as a RDA file compared to using a CSV?
1
vote
1 answer

Add arrows in RDA in R

I am relatively new to R and I am trying to get my head around how to do ordination techniques in R, so that I don't need to use other software. I am trying to get a PCA with environmental factors in the place of species. As I have sites which…
Paris St
  • 33
  • 1
  • 2
  • 6
0
votes
1 answer

How to Push only the updated cells using RDA

In my inventory mobile application , i use RDA. using the mobile device ,i update only the Barcode of a particular Item which is in the Item Master(.sdf file). then I push the tables to the SQL Server. there is a web application handles all the…
user1220497
  • 311
  • 2
  • 4
  • 15
0
votes
1 answer

RDA in R - plot has row1, row2, row3... etc in label names for sites instead of just 1, 2, 3

So I am trying to plot species, site and environmental data in R by using RDA with vegan package. In my RDA R has automatically named sites in site scores tables as row1, row2... etc. Can I change these somehow? Or can I change in the plot so that…
FFD700
  • 3
  • 2
0
votes
0 answers

How to draw time trajectory arrows in a RDA plot in R?

The dataset mite, was sampled across five sites for 12 months. I have a PCA plot as follows. I want to draw a "time trajectory" such that for every site, there are 11 points that are connected starting from 1 and ending at month 12. I know I can do…
Share
  • 395
  • 7
  • 19
0
votes
0 answers

How to compute variable contributions to the principal axes for RDA in R? (Erorr: rdacca can't be handled by factoextra)

data("mite") # Load mite species abundance data data("mite.env") # Load envdata # Hellinger transform the community data mite.spe.hel <- decostand(mite, method = "hellinger") mite.env <- mite.env[,1:2] mite.env$SoilCont <-…
Share
  • 395
  • 7
  • 19
0
votes
0 answers

anova RDA by margin giving only model term with sum of variance and not each term

I am trying to run an anova by margin with my dataset, but instead of getting the varicance for each term I get only model with degrees of freedom 24 as the number of my response variable and variance changed to percentage is 100 and no…
i.b
  • 167
  • 11
0
votes
0 answers

Can I test the species scores in an ordination test, such as an RDA?

I'm working on some RDA. I know that I can run permutations to test for the overall ordination, for the axes, and even for the terms. But is there a function to test the species scores? anova.cca(rda) anova.cca(rda, by = "axis") anova.cca(rda, by =…
0
votes
1 answer

How to use lapply to loop through a regression?

In the following dataset, I want to computer the function `rda` every 72 rows. Do this 10 times. Following [this solution][1] of lapply, I tried the same for a regression `rda` set.seed(111) df <- data.frame(sp1 = rep(rtruncnorm(10, a=0, b=1, mean…
Rspacer
  • 2,369
  • 1
  • 14
  • 40
0
votes
1 answer

RDA triplot in R- plot only numeric explanatory variables as arrows; factors as centroids

I ran a distance-based RDA using capscale() in the vegan library in R and I am trying to plot my results as a custom triplot. I only want numeric or continuous explanatory variables to be plotted as arrows/vectors. Currently, both factors and…
LeahF
  • 13
  • 3
0
votes
0 answers

When I save and load RDA files the name changes?

I have a parameter called country_name that reflects the name of a country I am interested in and which I change sometimes when I run my code, I would like my RDA file to reflect that name change once saved and loaded back into the…
0
votes
0 answers

Load multiple rda files and keep their names in the global environment in R

I have 24 neural networks (obtained with caret::train(), and I saved all of them in a folder with .rda extension. path <- "ann models/" file_list <- list.files(path) #list of file names file_list <- paste0(path,file_list) #adding to the file name,…
antecessor
  • 2,688
  • 6
  • 29
  • 61
0
votes
0 answers

Problem plotting ordispider RDA ordination plots with vegan, BiodiversityR and ggplot2

I am following this tutorial for plotting ordination with vegan, BiodiversityR, and ggplot2. Everything has been working great, but I can't get the plots in Section 5 Example 3 (adding ordispider diagrams) to work. I am not sure what is wrong with…
FishyFishies
  • 301
  • 3
  • 14
0
votes
0 answers

How to add centroids to an RDA plot

I'd like to replace the arrows on this RDA plot with centroids, something like what's pictured here. This is the code I currently have which provides me arrows (I guess by default). I have shared our RDA code and I think this is where we might be…
Torrey
  • 13
  • 2
0
votes
1 answer

r rda vegan ggplot geom_text. I wanna specify the label position to put it exactly where the arrows point

This is what I want to put the text label to the position where the arrows point: These are my results: I want to put the text label to the position where the arrows point, I used library(ggrepel). My code is p <- ggplot(rda_tb_fs.site,…
Orla_wang
  • 1
  • 2