yes barry I really need this.

I tried to use raster or rgdal but with poor results.

I have this function:

VGM_PARAM_A3 <- gstat(id="bos_bison",
formula=combusto~1,locations=~coord_x+coord_y, data=archezoology_table,
nmax = 10)

VGM_PARAM_A3 <- gstat(VGM_PARAM_A3, model=vgm(1, "Sph", 5, 0),
fill.all=TRUE)

ESV_A3 <- variogram(VGM_PARAM_A3, map=True, with=0.1, cutoff=9)

VARMODEL_A3 = fit.lmc(ESV_A3, VGM_PARAM_A3)

plot(ESV_A3, threshold = 5, col.regions = bpy.colors(), xlab=, ylab=,
main="Map - A3")
png("C:\Users\User\pyarchinit_R_folder\A3 semivariogram_map.png",
width=10000, height=10000, res=400)

I make a png file but how can I convert it in ascii-grid?

thanks

enzo


2013/11/3 Barry Rowlingson <b.rowling...@lancaster.ac.uk>

> Or do you mean you want to write the gridded output of an
> interpolation you did (perhaps using kriging) in gstat as an ESRI
> ASCII Grid file for reading into a GIS?
>
> If so, you can probably do it with writeGDAL from the rgdal package,
> or writeRaster from the raster package.
>
> I don't really know what a 'semivariogram map' is.
>
>
> On Sat, Nov 2, 2013 at 8:55 AM, Enzo Cocca <enzo....@gmail.com> wrote:
> > hi,
> >
> > I want to export in ascii-grid file a semivariogram map that I have did
> > with gstat library.
> >
> > How can I make it?
> >
> > Somebody can help me?
> >  thanks!
> >
> > enzo
> > --
> > Enzo Cocca (PhD Candidate)
> > Research Fellow
> > Università di Napoli "L'Orientale"
> > mail: enzo....@gmail.com
> > cell: +393495087014
> >
> >         [[alternative HTML version deleted]]
> >
>



-- 
Enzo Cocca (PhD Candidate)
Research Fellow
Università di Napoli "L'Orientale"
mail: enzo....@gmail.com
cell: +393495087014

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to