Write the formatted data, splina and lapgrd configuration files to the same directory.

anusplin_write_setting(
  param,
  outdir,
  ...,
  na.width = "auto",
  is.run = FALSE,
  overwrite = FALSE
)

Arguments

outdir

The output directory.

na.width

The length of the whitespace to fill in the missing value, automatic calculation (default) or manual setting an integer.

is.run

If TRUE, run the command.

dat

A formatted data.frame (data.table), or a list contains dat, opt_splina and opt_lapgrd

opt_splina

A list of splina parameters.

opt_lapgrd

A list of lapgrd parameters.

names

Filenames of splina and lapgrd paramters, no path required.