CheckInput {CompRandFld}  R Documentation 
Subroutine called by the fitting procedures. The procedure controls the the validity of the input inserted by the users.
CheckInput(coordx, coordy, coordt, corrmodel, data, distance, fcall, fixed, grid, likelihood, margins, maxdist, maxtime, model, numblock, optimizer, param, replicates, start, taper, tapsep, threshold, type, varest, vartype, weighted)
coordx 
A numeric (d x 2)matrix (where

coordy 
A numeric vector assigning 1dimension of
coordinates; 
coordt 
A numeric vector assigning 1dimension of temporal coordinates. 
corrmodel 
String; the name of a correlation model, for the
description see 
data 
A numeric vector or a (n x d)matrix or (d x d x n)matrix of observations. 
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. 
margins 
String; the type of the marginal distribution of the maxstable field. 
maxdist 
Numeric; an optional positive value indicating the maximum spatial distance considered in the compositelikelihood computation. 
maxtime 
Numeric; an optional positive value indicating the maximum temporal lag separation in the compositelikelihood. 
model 
String; the density associated to the likelihood
objects. 
numblock 
Numeric; the number of observation of the underlying
randfom field (only for maxstable simulations). See

optimizer 
String; the optimization algorithm
(see 
param 
A numeric vector of parameters, needed only in
simulation. See 
replicates 
Logical; if 
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). 
threshold 
Numeric; a value indicating a threshold for the binary random field. 
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 
Simone Padoan, simone.padoan@unibocconi.it, http://faculty.unibocconi.it/simonepadoan; Moreno Bevilacqua, moreno.bevilacqua@uv.cl, https://sites.google.com/a/uv.cl/morenobevilacqua/home.