I was using omnidirectional variogram code for a very large dataset (110,000+ observations/rows). When I run the following code on RStudio Server, it freezes:-
- Code: Select all
vario.omni <- vario.calc(db, nlag = 10)
plot(
vario.omni,
type = "p",
pch = 19,
npairpt= TRUE,
npairdw= FALSE,
title = paste(property, "Experimental Ominidirectional Variogram"),
xlab = "Log distance",
ylab = expression(paste("Variance (", gamma, "(h))", sep="")))
However, when I tried this code for a smaller dataset (~200 rows/observations), the code ran just fine. I was wondering how I can resolve the issue.
Thank you.
Regards,
Sameera