1. S

    Need help to correctly bootstrap confidence interval for correlation of 50 y-values against 50 averages from autocorrelated subsets of 2000 x-values

    I am helping out with some plots for a paper: simple X versus Y plots, and would like to provide some stats to improve the paper. My statistics knowledge is rusty and I am an R-noob with only a few weeks of Tidyverse under my belt, so I would appreciate some input. Am I on the right track? The...
  2. G

    R Distance Matrix

    I have my data in the following form i.e. Sample,Abundance -- These are the headers of the table. C1,345 C2,280 K1,250 K2,562 Kindly let me know how can I create a distance matrix from this data which I can further use to plot Principle Component Analysis in R. TIA
  3. K

    NAs introduced by coercion

    hii, I am trying to plot a 3d-scatter graph , but it shows the error: Warning in xyz.coords(x, y, z, xlab = xlabel, ylab = ylabel, zlab = zlabel, : NAs introduced by coercion I have attached my dataset and code files. In this user is selecting the dataset(moons.csv) and then by...
  4. S

    permutation test on 2-factor contingency table

    Anyone has an idea on how to perform a permutation test on a 2-factor contingency table? In R? thanks!! :)
  5. M

    select array data in which column n's values rise consecutively

    I want to select only the data from an array that is sequential by column n. For example: n <- c(1, 2, 4, 6, 7, 8, 9, 11) x <- c(10, 20, 30, 40, 50, 60, 80, 90) y <- c(60, 20, 40, 90, 10, 30, 50, 40) a <- cbind(n,x,y) a n x y [1,] 1 10 60 [2,] 2 20 20 [3,] 4 30 40...