wilksTrain: Train Complete Wilks Model

Description Usage Arguments Author(s)

Description

Train Complete Wilks Model

Usage

1
2
3
wilksTrain(data, dates = NULL, stations.id = NULL, accuracy = 1e+06,
  max.error = 0.01, max.iter = 20, debug = FALSE,
  parallelize = FALSE, n.cores = NULL, cluster.type = "PSOCK")

Arguments

data

grid type object from loadeR. It should be a named list with at least $Data, a binary matrix with the data

dates

A vector of dates corresponding to the data in case it is a matrix. It should have length(dates) = nrow(data)

stations.id

A vector of station names corresponding to the data in case it is a matrix. It should have length(stations.id) = ncol(data)

accuracy

Number of instances of the series that will be generated during each simulation while finding normal correlation value

max.error

Iterative process will stop when it reaches this error in correlation between pairs or at max.iter

max.iter

Maximum number of iterations during the normal correlation value search.

debug

If set to TRUE information about the iterative process will be displayed. Does not work when parallelize is set to TRUE

n.cores

Number of processes that will be created for parallel computation. Set to n.cores()-1 by default.

cluster.type

Either "PSOCK" (default) or "FORK". Check parallel package for the details

parallel

If set to TRUE, parallel computation will be used.

Author(s)

M.N. Legasa


MNLR/wilksWG documentation built on June 27, 2019, 2:26 p.m.