Displaying 2 results from an estimated 2 matches for "dbl_1".
Did you mean:
db_1
2010 Mar 23
1
Changing content of column in data.frame + efficient join extraction between 2 data.frames
Dear R users,
I have 2 SpatialPointsDataFrame's, pcs and East.
The column str_1 in the first (pcs) is:
> pcs[0:4,]
coordinates cat str_1 int_1 int_2 dbl_1 dbl_2
1 (101000, 263000) 1 "SM06B" 101000 263000 4.978915 -4.293668
2 (101000, 265000) 2 "SM06C" 101000 265000 4.960478 -4.266742
3 (101000, 267000) 3 "SM06D" 101000 267000 4.912984 -4.246849
4 (101000, 269000) 4 "SM06E" 101000 269000 4.613309 -4....
2008 Aug 20
1
pdf filenames in while loop
...stat)
library(automap)
## List of files to 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(&quo...