Creates a svar.bin (binned semivar. + grid parameters) object with the binned intra-curves semivariances (i.e. computes a binned sample variogram).

# S3 method for npf.data
svar.bin(
  x,
  maxlag = NULL,
  nlags = round(0.55 * x$grid$n),
  minlag = x$grid$lag,
  estimator = c("classical", "modulus"),
  ...
)

# S3 method for npf.locpol
svar.bin(
  x,
  var,
  maxlag = NULL,
  nlags,
  minlag,
  estimator = c("classical", "modulus"),
  ...
)

Arguments

x

object used to select a method.

maxlag

maximum lag. Defaults to (nlags - 1) * minlag.

nlags

number of lags. Defaults to round(0.55 * x$grid$n).

minlag

minimun lag. Defaults to that of the discretization grid.

estimator

character, estimator name (e.g. "classical"). See npsp::svar.bin.

...

further arguments passed to npsp::svariso.

var

(optional) a vector or an object of class npf.var with the estimated (or theoretical) variances.

Value

Returns an object of S3 class npsp::svar.bin.

Details

Only one of the arguments maxlag or nlags must be specified.

svar.bin.npf.data assumes a stationary functional process (the functional mean and functional variance are constants).

See npsp::svar.bin for more details.