CkInput {GeoModels} | R Documentation |
Checking Input
Description
Subroutine called by the fitting procedures. The procedure controls the the validity of the input inserted by the users.
Usage
CkInput(coordx, coordy, coordt, coordx_dyn,corrmodel, data, distance,
fcall, fixed, grid,likelihood, maxdist, maxtime,
model, n, optimizer, param, radius,
start, taper, tapsep, type, varest, vartype,
weighted,copula,X)
Arguments
coordx |
A numeric ( |
coordy |
A numeric vector assigning 1-dimension of
coordinates; |
coordt |
A numeric vector assigning 1-dimension of temporal coordinates. |
corrmodel |
String; the name of a correlation model, for the
description see |
coordx_dyn |
A list of |
data |
A numeric vector or a ( |
distance |
String; the name of the spatial distance. The default is |
fcall |
String; |
fixed |
A named list giving the values of the parameters that
will be considered as known values. The listed parameters for a
given correlation function will be not estimated, i.e. if
|
grid |
Logical; if |
likelihood |
String; the configuration of the composite
likelihood. |
maxdist |
Numeric; an optional positive value indicating the maximum spatial distance considered in the composite-likelihood computation. |
maxtime |
Numeric; an optional positive value indicating the maximum temporal lag separation in the composite-likelihood. |
radius |
Numeric; the radius of the sphere in the case of lon-lat coordinates. The default is 6371, the radius of the earth. |
model |
String; the density associated to the likelihood
objects. |
n |
Numeric; the number of trials in a binomial random fields.
Default is |
optimizer |
String; the optimization algorithm
(see |
param |
A numeric vector of parameters, needed only in
simulation. See |
start |
A named list with the initial values of the
parameters that are used by the numerical routines in maximization
procedure. |
taper |
String; the name of the tapered correlation function. |
tapsep |
Numeric; an optional value indicating the separabe parameter in the space time quasi taper (see Details). |
type |
String; the type of the likelihood objects. If |
varest |
Logical; if |
vartype |
String; the type of estimation method for computing
the estimate variances, see |
weighted |
Logical; if |
copula |
String; the type of copula. It can be "Clayton" or "Gaussian" |
X |
Numeric; Matrix of space-time covariates in the linear mean specification. |
Details
Subroutine called by the fitting procedures. The procedure controls the the validity of the input inserted by the users.
Value
A list with the type of error associated with the input parameters.
Author(s)
Moreno Bevilacqua, moreno.bevilacqua89@gmail.com,https://sites.google.com/view/moreno-bevilacqua/home, Víctor Morales Oñate, victor.morales@uv.cl, https://sites.google.com/site/moralesonatevictor/, Christian", Caamaño-Carrillo, chcaaman@ubiobio.cl,https://www.researchgate.net/profile/Christian-Caamano