getPreddistr: Training the model and generating the predictive...

Description Usage Arguments Value

View source: R/fit_model.R

Description

Training the model and generating the predictive distributions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
getPreddistr(
  SWH = NA,
  SLP = NA,
  SLP.grad = NA,
  latCell = 4,
  longCell = 4,
  neig = 2,
  na.thresh = 500,
  latSWH = NA,
  lonSWH = NA,
  latSLP = NA,
  longSLP = NA,
  intercept.fourier = NA,
  maxlag = 10
)

Arguments

SWH

The SWH data

SLP

The SLP data

SLP.grad

The SLP gradient data

latCell

Define the latitude cell of interest (default = 4)

longCell

Define the longitude cell of interest (default = 4)

neig

Define the number of spatial neighbours (default = 2)

na.thresh

Define how many missing values is "good enough" (default = 500)

latSWH

A vector containing the SWH latitudes

lonSWH

A vector containing the SWH longitudes

latSLP

A vector containing the SLP latitudes

intercept.fourier

Seasonal Fourier coefficients

maxlag

Define the maximum order of AR processes to be constructed

training.test

The training and the test data

lonSLP

A vector containing the SLO longitudes

Value

A list of predictive means, predictive spread and lambda for Box-Cox transformation


NorskRegnesentral/rWHAP documentation built on March 2, 2020, 5:31 a.m.