An interactive function showing the fitted variogram and the mapping transformation from the geographical space into Dspace, allowing the user to interactively choose a suitable value for the smoothing parameter ("lambda").
1 2  Ftransdraw(disp, Gcrds, MDScrds, gridstr, sta.names, lambda = 0,
lsq = FALSE, eye, model = 1, a0 = 0.1, t0 = 0.5)

disp 
n \times n dispersion matrix, equal to 22 (spatial correlation matrix) 
Gcrds 
n \ times 2 coordinate matrix (in Gspace) 
MDScrds 
Coordinates of new locations – as calculated by

gridstr 
grid coordinates, obtained from 
sta.names 
names of locations; if not provided, locations will be numbered 1 to n 
lambda 
initial value of the smoothing parameter 
lsq 
logical flag used in SampsonGuttorp method 
eye 
eye perspective; if not provided, locations will be selected using the provided data 
model 
type of variogram: 1 for exponential or 2 for gaussian 
a0, t0 
initial variogram parameter estimates 
A list containing the following named components:
Dcrds 
n \times 2 cooridnate matrix of new locations in Dspace 
Ddist 
n \times n matrix of interdistances in Dspace 
The graphic device has to be setup before engaging this function, for example using the 'setplot' function:
1 2 
In window, after entering the function call in R console, click on the graphical device to register the curse before proceeding and this interactive function will provide instructions for using a different smoothing parameter value; ie. enter a new lambda value in R console, then click on the graphical device to see results.
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.