Displaying 1 result from an estimated 1 matches for "dbl_5".
Did you mean:
dbl_1
2008 Aug 20
1
pdf filenames in while loop
...o be used in the while loop
files <- read.table("files.txt")
f.mat <- as.matrix(files)
## start loop here with a as the control
a=1
while(a <= 60)
{
d <- read.csv(paste(f.mat[a]), header=TRUE, sep=",")
coordinates(d) = ~dbl_1+dbl_2
variogram = autofitVariogram(dbl_5~1,d, model = c("Sph"), fix.values=c(NA,NA,NA), verbose = FALSE)
print(variogram)
print(variogram$var_model$psill[1])
print(variogram$var_model$range[2])
p <- plot(variogram, main="Semi-variogram (Spherical Model)", sub=paste("Range: ",variogram$var_model$range[...