View source: R/init.R View source: R/initOld.R
getIntamapParams | R Documentation |
This function sets a range of the parameters for the intamap-package
,
to be included in the object described in intamap-package
getIntamapParams(oldPar,newPar,...)
oldPar |
An existing set of parameters for the interpolation process,
of class |
newPar |
A |
... |
Individual parameters for updating
|
A list of the parameters with class intamapParams
to be included in the
object
described in intamap-package
This function will mainly be called by createIntamapObject
, but
can also be called by the user to create a parameter set or update an
existing parameter set. If none of the arguments is a list of class
IntamapParams
), the function will assume that the argument(s) are
modifications to the default set of parameters.
If the function is called with two lists of parameters (but the first one is
not of class IntamapParams
) they are both seen as modifications to the
default parameter set. If they share some parameters, the parameter values from
the second list will be applied.
Jon Olav Skoien
Pebesma, E., Cornford, D., Dubois, G., Heuvelink, G.B.M., Hristopulos, D., Pilz, J., Stohlker, U., Morin, G., Skoien, J.O. INTAMAP: The design and implementation f an interoperable automated interpolation Web Service. Computers and Geosciences 37 (3), 2011.
createIntamapObject
# Create a new set of intamapParameters, with default parameters:
params = getIntamapParams()
# Make modifications to the default list of parameters
params = getIntamapParams(newPar=list(removeBias = "local",
secondParameter = "second"))
# Make modifications to an existing list of parameters
params = getIntamapParams(oldPar = params,newPar = list(predictType = list(exc=TRUE)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.