On 03/14/2011 05:47 PM, vetter wrote: > I computed a variogram cloud using the gstat package. > > My results look like this: > >> var1[,1]
that was probably a var[1,] > dist gamma dir.hor dir.ver id left right > 1 63834.75 0.2057185 0 0 var1 2 1 > > My question is: > How can I extract the values from column "left" and "right" from this > object? > By coercion to a data.frame, and selecting: as.data.frame(var1)$left as.data.frame(var1)$right > Thanks Tobias Vetter > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo -- Edzer Pebesma Institute for Geoinformatics (ifgi), University of Münster Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251 8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de http://www.52north.org/geostatistics e.pebe...@wwu.de _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo