Re: [R] Mann Kendall mutation package?

2023-12-01 Thread Ben Bolker
Have you looked at the Kendall package? https://stackoverflow.com/questions/62288340/mann-kendall-in-r (you've cross-posted a version of this question to SO as well: https://stackoverflow.com/questions/77587426/what-is-the-algorithm-for-the-mann-kendall-mutation-test ) Please don't

Re: [R] back tick names with predict function

2023-12-01 Thread peter dalgaard
Also, and possibly more constructively, when you get an error like > CI.c = predict(mod2, data.frame( `plant-density` = x), interval = 'c') # fail Error in eval(predvars, data, env) : object 'plant-density' not found you should check your assumptions. Does "newdata" actually contain a columnn

Re: [R] Mann Kendall mutation package?

2023-12-01 Thread Rui Barradas
Às 11:58 de 01/12/2023, Nick Wray escreveu: Hello - does anyone know whether there are any packages for Mann-Kendall mutation tests in R available? The only one I could find online is this MK_mut_test: Mann-Kendall mutation test in Sibada/sibadaR: Sibada's accumulated R scripts for next

Re: [R-es] PCA

2023-12-01 Thread Jose Betancourt Bethencourt
Gracias por su ayuda El 30/11/23, Marcelino de la Cruz Rot escribió: > Hola, José: > > Ahí va un ejemplo: > > library(vegan) > library(FD) > > # datos categóricos de ejemplo > dataf <- data.frame(FA = factor(sample(letters[1:3], 10, rep=T)), FB = > factor(sample(letters[1:3], 10, rep=T))) >

[R] Mann Kendall mutation package?

2023-12-01 Thread Nick Wray
Hello - does anyone know whether there are any packages for Mann-Kendall mutation tests in R available? The only one I could find online is this MK_mut_test: Mann-Kendall mutation test in Sibada/sibadaR: Sibada's accumulated R scripts for next probably use to avoid reinventing the wheel.