Hi all,
I am having a lot of difficulty trying to use gstat.randtest in RStudio. All packages are in (ade4, adegenet, hierfstat) and data is in genind. Latest version of R (4.0.3).
#script:
gtest <- gstat.randtest(obj2,nsim=99)
gtest
plot(gtest)
Console:
gtest <- gstat.randtest(obj2,nsim=99)
Error in gstat.randtest(obj2, nsim = 99) :
could not find function "gstat.randtest"
Even using the nancycats genind, I still get the same error.
I am working through the basic tutorial for adegenet. Closed RStudio and loaded everything again but to no avail.
Any help or tips would be really appreciated.
Thank you